Skip to content
Snippets Groups Projects
Commit 38041705 authored by Nicholas Milef's avatar Nicholas Milef
Browse files

ENH: implemented a clearing function for line mesh and improved description...

ENH: implemented a clearing function for line mesh and improved description for setting the color of a material
parent ff0296e3
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,8 @@ LineMesh::initialize(const StdVectorOfVec3d& vertices,
void
LineMesh::clear()
{
m_lines.clear();
m_vertexColors.clear();
}
void
......
......@@ -82,7 +82,8 @@ public:
void backfaceCullingOff();
///
/// \brief Get/Set the diffuse color
/// \brief Get/Set the color. This affects the diffuse color directly, but
/// it affects the specular color in the case of metals.
///
const Color& getColor() const;
void setColor(const Color color);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment