]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Transition.hh
experimental shapes hierarchy and raycasting
[chaz/yoink] / src / Moof / Transition.hh
index ab09c02a582ddd7f5320a18dbaa284c3d8b559bb..310e8ea0a725b37f8318f8512add2f727bcd270d 100644 (file)
@@ -97,15 +97,15 @@ public:
                glMatrixMode(GL_MODELVIEW);
                glPushMatrix();
                glLoadIdentity();
-               glColor4(1.0, 1.0, 1.0, alpha);
+               glColor(1.0, 1.0, 1.0, alpha);
                Mf::Texture::resetBind();
 
                //glRectf(-1.0f, -1.0f, 1.0f, 1.0f);
                glBegin(GL_QUADS);
-                       glVertex3f(-1.0, -1.0, -0.1);
-                       glVertex3f(1.0, -1.0, -0.1);
-                       glVertex3f(1.0, 1.0, -0.1);
-                       glVertex3f(-1.0, 1.0, -0.1);
+                       glVertex(-1.0, -1.0, -0.1);
+                       glVertex(1.0, -1.0, -0.1);
+                       glVertex(1.0, 1.0, -0.1);
+                       glVertex(-1.0, 1.0, -0.1);
                glEnd();
 
                glDisable(GL_BLEND);
This page took 0.018708 seconds and 4 git commands to generate.