From 79f4c6ac94241cbed720a23ae0ec69428ab5dd0f Mon Sep 17 00:00:00 2001 From: malomo Date: Sat, 1 Nov 2014 16:58:53 +0000 Subject: [PATCH] Added VN() function to triangle3. --- vcg/space/triangle3.h | 1 + 1 file changed, 1 insertion(+) diff --git a/vcg/space/triangle3.h b/vcg/space/triangle3.h index 7e5122a2..9b5bbcc6 100644 --- a/vcg/space/triangle3.h +++ b/vcg/space/triangle3.h @@ -72,6 +72,7 @@ public: inline const CoordType & cP1( const int j ) const { return _v[(j+1)%3];} inline const CoordType & cP2( const int j ) const { return _v[(j+2)%3];} + inline int VN() const { return 3;} }; //end Class /********************** Normal **********************/