/[gzz]/gzz/test/gzz/gfx/gl/glvobcoorder.test
ViewVC logotype

Diff of /gzz/test/gzz/gfx/gl/glvobcoorder.test

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

revision 1.17 by tjl, Fri Nov 1 08:05:13 2002 UTC revision 1.18 by tjl, Fri Nov 1 08:37:19 2002 UTC
# Line 17  c1 = vs1.coords Line 17  c1 = vs1.coords
17  vs2 = getvs()  vs2 = getvs()
18  c2 = vs2.coords  c2 = vs2.coords
19    
 def testBoxes():  
     cs1 = c.box(0, 200, 100)  
     cs2 = c.unitSq(cs1)  
     checkTrans(vs, cs2, [0, 0, 0, 1, 1, 1, 2, 2, 2],  
                         [0, 0, 0, 200, 100, 1, 400, 200, 2])  
   
     cs1 = c.orthoBox(0, 5, 200, 100, 2, 2, 10, 10)  
     cs2 = c.unitSq(cs1)  
     checkTrans(vs, cs2, [0, 0, 0, 1, 1, 1], [200, 100, 5, 220, 120, 6])  
       
   
20  def testTransform():  def testTransform():
21    
22      cs1 = c.ortho(0, 5, 10, 15, 0.5, 1)      cs1 = c.ortho(0, 5, 10, 15, 0.5, 1)

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

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