diff --git a/vcg/simplex/face/base.h b/vcg/simplex/face/base.h index 6b030a72..192e631e 100644 --- a/vcg/simplex/face/base.h +++ b/vcg/simplex/face/base.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.14 2004/05/13 11:01:06 turini +Changed ComputeMormalizedNormal() using Triangle3 + Revision 1.13 2004/05/12 18:49:05 ganovelli dist and coputeRT removed (see distance.h and updateEdges) @@ -288,6 +291,13 @@ const CoordType Normal() const return vcg::Normal(*this); } +/// Return the value of the face normal as it correspond to the current geometry. +/// it is always computed and never stored. +const CoordType NormalizedNormal() const +{ + return vcg::NormalizedNormal(*this); +} + #ifdef __VCGLIB_FACE_WN /// This vector indicates per wedge normal CoordType _wn[3];