Interface for a planar entity.
void glDrawNormal(CC_DRAW_CONTEXT &context, const CCVector3 &pos, float scale, const ecvColor::Rgb *color=0)
Draws a normal vector (OpenGL)
void clearNormalVector(CC_DRAW_CONTEXT &context)
void showNormalVector(bool state)
Show normal vector.
bool normalVectorIsShown() const
Whether normal vector is shown or not.
ccPlanarEntityInterface(unsigned int id)
bool m_showNormalVector
Whether the facet normal vector should be displayed or not.
ccPlanarEntityInterface()
Default constructor.
virtual CCVector3 getNormal() const =0
Returns the entity normal.