~vcs-imports/pyopengl/main

« back to all changes in this revision

Viewing changes to OpenGL/Demo/dek/OglSurface/OglFrame.py

  • Committer: mcfletch
  • Date: 2005-07-25 03:54:22 UTC
  • Revision ID: Arch-1:pyopengl@bazaar.ubuntu.com%pyopengl--MAIN--0--patch-913
Merging the maint-2_0 changes into the head to make things easier for
new development.  Hopefully got Charles' changes properly merged in as well.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
## +x axis points left
24
24
                glColor3f(1,0,0)
25
 
                glVertex3f([0,0,0])
26
 
                glVertex3f(self.axispoints[0].tolist())
 
25
                glVertex3fv([0,0,0])
 
26
                glVertex3fv(self.axispoints[0].tolist())
27
27
 
28
28
## +y axis points up
29
29
                glColor3f(0,1,0)
30
 
                glVertex3f([0,0,0])
31
 
                glVertex3f(self.axispoints[1].tolist())
 
30
                glVertex3fv([0,0,0])
 
31
                glVertex3fv(self.axispoints[1].tolist())
32
32
 
33
33
## +z-axis points away
34
34
                glColor3f(0,0,1)
35
 
                glVertex3f([0,0,0])
36
 
                glVertex3f(self.axispoints[2].tolist())
 
35
                glVertex3fv([0,0,0])
 
36
                glVertex3fv(self.axispoints[2].tolist())
37
37
 
38
38
                glEnd()
39
39