From ac215c4dbc17f34c5c88ce0f67fe961f32874d36 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Mon, 12 Jul 2004 12:17:09 +0000 Subject: [PATCH] added function NormalizedNormal --- vcg/simplex/face/base.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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];