Uniformed the rarely used per mesh color to the const/reference notation standard of the components

This commit is contained in:
Paolo Cignoni 2012-11-28 11:13:46 +00:00
parent bf3ee42337
commit 75ca1eabfc
1 changed files with 3 additions and 10 deletions

View File

@ -297,16 +297,9 @@ private:
Color4b c; Color4b c;
public: public:
inline Color4b C() const inline const Color4b &C() const { return c; }
{ inline Color4b &C() { return c; }
return c; inline Color4b cC() const { return c; }
}
inline Color4b & C()
{
return c;
}
/// Default constructor /// Default constructor
TriMesh() TriMesh()