mozione ponchio per rimozione codice inutile
This commit is contained in:
parent
97d08efbe0
commit
49a15ebd82
|
@ -71,11 +71,9 @@ Revision 1.1 2004/03/31 15:27:17 ponchio
|
||||||
namespace vcg {
|
namespace vcg {
|
||||||
|
|
||||||
inline void glMultMatrixE(const Matrix44f &matrix) {
|
inline void glMultMatrixE(const Matrix44f &matrix) {
|
||||||
//glMultMatrixf((const GLfloat *)(matrix[0]));
|
|
||||||
if(glMultTransposeMatrixf) glMultTransposeMatrixf((const GLfloat *)(matrix.V()));
|
|
||||||
else {
|
|
||||||
glMultMatrixf((const GLfloat *)(matrix.transpose().V()));
|
glMultMatrixf((const GLfloat *)(matrix.transpose().V()));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void glMultMatrix(const Matrix44f &matrix) {
|
inline void glMultMatrix(const Matrix44f &matrix) {
|
||||||
|
@ -83,10 +81,9 @@ inline void glMultMatrix(const Matrix44f &matrix) {
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void glMultMatrixE(const Matrix44d &matrix) {
|
inline void glMultMatrixE(const Matrix44d &matrix) {
|
||||||
if(glMultTransposeMatrixd) glMultTransposeMatrixd((const GLdouble *)(matrix.V()));
|
|
||||||
else {
|
|
||||||
glMultMatrixd((const GLdouble *)(matrix.transpose().V()));
|
glMultMatrixd((const GLdouble *)(matrix.transpose().V()));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
inline void glMultMatrix(const Matrix44d &matrix) {
|
inline void glMultMatrix(const Matrix44d &matrix) {
|
||||||
glMultMatrixd((const GLdouble *)(matrix.transpose().V()));
|
glMultMatrixd((const GLdouble *)(matrix.transpose().V()));
|
||||||
|
|
Loading…
Reference in New Issue