Uniformed the rarely used per mesh color to the const/reference notation standard of the components
This commit is contained in:
parent
bf3ee42337
commit
75ca1eabfc
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue