From 75ca1eabfc6063cac55983d53dd48b792e171eb9 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 28 Nov 2012 11:13:46 +0000 Subject: [PATCH] Uniformed the rarely used per mesh color to the const/reference notation standard of the components --- vcg/complex/complex.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/vcg/complex/complex.h b/vcg/complex/complex.h index 01ca188c..88c74834 100644 --- a/vcg/complex/complex.h +++ b/vcg/complex/complex.h @@ -297,16 +297,9 @@ private: Color4b c; public: - inline Color4b C() const - { - return c; - } - - inline Color4b & C() - { - return c; - } - + inline const Color4b &C() const { return c; } + inline Color4b &C() { return c; } + inline Color4b cC() const { return c; } /// Default constructor TriMesh()