added initialization of the mesh color to the standard opossum gray

This commit is contained in:
Paolo Cignoni 2009-06-23 20:43:39 +00:00
parent e3f40f6c36
commit 60afe72ca8
1 changed files with 2 additions and 1 deletions

View File

@ -309,8 +309,8 @@ class TriMesh: public TriMeshEdgeHolder<VertContainerType,FaceContainerType,Edge
//Camera<ScalarType> camera; // intrinsic //Camera<ScalarType> camera; // intrinsic
Shot<ScalarType> shot; // intrinsic && extrinsic Shot<ScalarType> shot; // intrinsic && extrinsic
/// Il colore della mesh
private: private:
/// The per-mesh color. Not very useful and meaningful...
Color4b c; Color4b c;
public: public:
@ -331,6 +331,7 @@ public:
fn = vn = 0; fn = vn = 0;
imark = 0; imark = 0;
attrn = 0; attrn = 0;
C()=Color4b::Gray;
} }
/// destructor /// destructor