From c14e1511db96f3851711308608e5cfb587a19575 Mon Sep 17 00:00:00 2001 From: cignoni Date: Fri, 17 Aug 2007 07:00:00 +0000 Subject: [PATCH] added a missing typename --- wrap/gl/space.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/wrap/gl/space.h b/wrap/gl/space.h index 6ad80a5e..0ec4ff2f 100644 --- a/wrap/gl/space.h +++ b/wrap/gl/space.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.10 2007/07/31 12:21:50 ganovelli +added gltetra, added normal gltriangle + Revision 1.9 2007/05/08 18:55:38 ganovelli glTriangle added @@ -259,7 +262,7 @@ inline void glBoxClip(const Box3 & b) template inline void glTriangle3( TriangleType & c ) { - vcg::Point3 n = vcg::Normal(c); + vcg::Point3 n = vcg::Normal(c); glBegin(GL_TRIANGLES); glNormal(n); glVertex(c.P(0)); @@ -270,10 +273,10 @@ template template inline void glTetra3( TetraType & c ) { - glTriangle3(Triangle3(c.P(0),c.P(1),c.P(2))); - glTriangle3(Triangle3(c.P(1),c.P(3),c.P(2))); - glTriangle3(Triangle3(c.P(0),c.P(2),c.P(3))); - glTriangle3(Triangle3(c.P(1),c.P(0),c.P(3))); + glTriangle3(Triangle3(c.P(0),c.P(1),c.P(2))); + glTriangle3(Triangle3(c.P(1),c.P(3),c.P(2))); + glTriangle3(Triangle3(c.P(0),c.P(2),c.P(3))); + glTriangle3(Triangle3(c.P(1),c.P(0),c.P(3))); } }//namespace