/[usata]/usata2/src/objects/test_object.cpp
ViewVC logotype

Diff of /usata2/src/objects/test_object.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by skunix, Tue Jan 18 00:12:08 2005 UTC revision 1.13 by skunix, Thu Jan 20 20:20:30 2005 UTC
# Line 62  namespace Line 62  namespace
62                  glTranslatef(0,0,-1.0);                  glTranslatef(0,0,-1.0);
63                  glRotatef(spin, 0, -1,0);                  glRotatef(spin, 0, -1,0);
64                                    
65                  glBegin(GL_TRIANGLES);                  glBegin(GL_QUADS);
66                  glTexCoord2f(0,0);                  glTexCoord2f(0,0);
67                  glVertex3f(-.5, 0.0, .0);                  glVertex3f(-.5, -0.5, .0);
68                  glTexCoord2f(1,1);  
69                    glTexCoord2f(1,0);
70                  glVertex3f(0.5, -0.5, .0);                  glVertex3f(0.5, -0.5, .0);
71    
72                    glTexCoord2f(1,1);
73                    glVertex3f( 0.5, 0.5 ,.0);
74                  glTexCoord2f(0,1);                  glTexCoord2f(0,1);
75                  glVertex3f(-0.5, -0.5 ,.0);                  glVertex3f(-0.5, 0.5 ,.0);
76            
77                  glEnd();                  glEnd();
78                  glPopMatrix();                  glPopMatrix();
79          }          }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26