From 7e8e197d573a97bc4140042ce6ece4853cf79a74 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 4 May 2004 23:36:23 +0000 Subject: [PATCH] remove include of gl and added glextgension exploiting, --- wrap/gl/math.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/wrap/gl/math.h b/wrap/gl/math.h index 060d12e7..fd4aa1cc 100644 --- a/wrap/gl/math.h +++ b/wrap/gl/math.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.2 2004/04/07 10:47:03 cignoni +inlined functions for avoid multiple linking errors + Revision 1.1 2004/03/31 15:27:17 ponchio *** empty log message *** @@ -35,17 +38,18 @@ Revision 1.1 2004/03/31 15:27:17 ponchio #include #include -#include -#include - +/// Note that this file assume that you have already included your +/// GLextesnion managing system namespace vcg { inline void glMultMatrix(const Matrix44f &matrix) { - glMultMatrixf((const GLfloat *)(matrix[0])); + //glMultMatrixf((const GLfloat *)(matrix[0])); + glMultTransposeMatrixf((const GLfloat *)(matrix[0])); } inline void glMultMatrix(const Matrix44d &matrix) { - glMultMatrixd((const GLdouble *)(matrix[0])); +// glMultMatrixd((const GLdouble *)(matrix[0])); + glMultTransposeMatrixd((const GLdouble *)(matrix[0])); } inline void glMultMatrix(const Similarityf &s) {