diff --git a/wrap/gl/math.h b/wrap/gl/math.h index 232232ac..6e6e8552 100644 --- a/wrap/gl/math.h +++ b/wrap/gl/math.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.7 2004/07/13 15:55:57 cignoni +Added test on presence of glTranspose extension (for old hw support) + Revision 1.6 2004/05/26 15:12:39 cignoni Removed inclusion of gl extension stuff @@ -53,6 +56,7 @@ Revision 1.1 2004/03/31 15:27:17 ponchio #include #include +#include namespace vcg { @@ -95,5 +99,14 @@ inline void glMultMatrix(const Similarityd &s) { glScaled(s.sca, s.sca, s.sca); } +inline void glGetv(const GLenum pname, Matrix44f & m){ + glGetFloatv(pname,&m[0][0]); +} + +inline void glGetv(const GLenum pname, Matrix44d & m){ + glGetDoublev(pname,&m[0][0]); +} + + }//namespace #endif