glGet added
This commit is contained in:
parent
4d1485e8da
commit
331db0410f
|
@ -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 <vcg/math/matrix44.h>
|
||||
#include <vcg/math/similarity.h>
|
||||
#include <gl/glew.h>
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue