]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_models.c
made various things take const pointers (optimizer hint), commented out and/or remove...
[xonotic/darkplaces.git] / gl_models.c
index 815ddb480a1edf7c7b402788b454e2b4ef7c57a7..6f435a0e14605a368273dc7bc87c2892fda6cd35 100644 (file)
@@ -26,16 +26,16 @@ rmeshinfo_t aliasmeshinfo;
 /*
 void GL_SetupModelTransform (vec3_t origin, vec3_t angles, vec_t scale)
 {
-       glTranslatef (origin[0], origin[1], origin[2]);
+       qglTranslatef (origin[0], origin[1], origin[2]);
 
        if (scale != 1)
-               glScalef (scale, scale, scale);
+               qglScalef (scale, scale, scale);
        if (angles[1])
-           glRotatef (angles[1],  0, 0, 1);
+           qglRotatef (angles[1],  0, 0, 1);
        if (angles[0])
-           glRotatef (-angles[0],  0, 1, 0);
+           qglRotatef (-angles[0],  0, 1, 0);
        if (angles[2])
-           glRotatef (angles[2],  1, 0, 0);
+           qglRotatef (angles[2],  1, 0, 0);
 }
 */