added minimal comments

This commit is contained in:
Paolo Cignoni 2006-08-23 15:34:20 +00:00
parent 47b31587ba
commit 7810ccc68e
1 changed files with 4 additions and 3 deletions

View File

@ -183,7 +183,8 @@ namespace vcg {
* directory. Each file specify a class type with the desired fields. So for example * directory. Each file specify a class type with the desired fields. So for example
* including 'vcg/simplex/vertex/with/VCVN.h' allow you to use the class VertVCVN that has per-vertex color and normal stored inside. * including 'vcg/simplex/vertex/with/VCVN.h' allow you to use the class VertVCVN that has per-vertex color and normal stored inside.
*/ */
template <class FLTYPE, class VETYPE = DUMMYEDGETYPE, class VFTYPE = DUMMYFACETYPE, class VTTYPE = DUMMYTETRATYPE,class TCTYPE = TCoord2<float,1>, class CoordTYPE= Point3<FLTYPE> > class VERTEX_TYPE template <class FLTYPE, class VETYPE = DUMMYEDGETYPE, class VFTYPE = DUMMYFACETYPE, class VTTYPE = DUMMYTETRATYPE,class TCTYPE = TCoord2<float,1>, class CoordTYPE= Point3<FLTYPE> >
class VERTEX_TYPE
{ {
public: public:
@ -617,7 +618,7 @@ protected:
#endif #endif
public: public:
inline VTTYPE * & VTp() inline VTTYPE * & VTb()
{ {
#if ((defined __VCGLIB_VERTEX_AT) || (defined __VCGLIB_VERTEX_ATS)) #if ((defined __VCGLIB_VERTEX_AT) || (defined __VCGLIB_VERTEX_ATS))
return _vtb; return _vtb;
@ -627,7 +628,7 @@ inline VTTYPE * & VTp()
#endif #endif
} }
inline const VTTYPE * & VTp() const inline const VTTYPE * & VTb() const
{ {
#if ((defined __VCGLIB_VERTEX_AT) || (defined __VCGLIB_VERTEX_ATS)) #if ((defined __VCGLIB_VERTEX_AT) || (defined __VCGLIB_VERTEX_ATS))
return _vtb; return _vtb;