glMatrixMode(GL_MODELVIEW);\r
glLoadIdentity();\r
glTranslatef(pos.x, pos.y, pos.z);\r
-#if defined(WIN32)\r
- /* This is STRICTLY a place-holder until we get this working properly for windows.\r
- * I do not pretend that this is equivalent to the non-Windows equivalent. I just\r
- * want the thing to build without errors.\r
- */\r
glMultMatrixf((float*)xform);\r
-#else\r
- glMultTransposeMatrixf((float*)xform);\r
-#endif\r
\r
draw_cube();\r
\r
float m31, float m32, float m33, float m34,\r
float m41, float m42, float m43, float m44)\r
{\r
- m[0][0] = m11; m[0][1] = m12; m[0][2] = m13; m[0][3] = m14;\r
- m[1][0] = m21; m[1][1] = m22; m[1][2] = m23; m[1][3] = m24;\r
- m[2][0] = m31; m[2][1] = m32; m[2][2] = m33; m[2][3] = m34;\r
- m[3][0] = m41; m[3][1] = m42; m[3][2] = m43; m[3][3] = m44;\r
+ m[0][0] = m11; m[1][0] = m12; m[2][0] = m13; m[3][0] = m14;\r
+ m[0][1] = m21; m[1][1] = m22; m[2][1] = m23; m[3][1] = m24;\r
+ m[0][2] = m31; m[1][2] = m32; m[2][2] = m33; m[3][2] = m34;\r
+ m[0][3] = m41; m[1][3] = m42; m[2][3] = m43; m[3][3] = m44;\r
}\r