/[libvob]/libvob/test/vob/gl/glvobcoorder.test
ViewVC logotype

Diff of /libvob/test/vob/gl/glvobcoorder.test

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

revision 1.5 by humppake, Thu Mar 13 17:41:39 2003 UTC revision 1.6 by humppake, Fri Mar 14 11:46:14 2003 UTC
# Line 197  def testCulling(): Line 197  def testCulling():
197      failIf(boxwh[1] != 10.0, "%s != 10.0" % (boxwh[1]))      failIf(boxwh[1] != 10.0, "%s != 10.0" % (boxwh[1]))
198    
199  #test translation forward  #test translation forward
200  #    cs4 = c.affine(0, 0, 0, 0, 100, 0, 0, 100)      cs4 = c.affine(0, 0, 0, 0, 100, 0, 0, 100)
201  #    cs4clip = c.affine(0, 0, 50, 50, 10, 0, 0, 10)      cs4clip = c.affine(0, 0, 50, 50, 10, 0, 0, 10)
202        cs4cull = c.cull(cs4, cs4clip)
203        checkTrans(vs, cs4cull, [0, 0, 0, 1, 1, 1, 2, 2, 2], [0, 0, 0, 100, 100, 1, 200, 200, 2])
204    
205  #    cs4cull = c.cull(cs4, cs4clip)  #Why is that? AFAIK, culling hasn't ever affected translation.
 #    checkTrans(vs, cs4cull, [0, 0, 0, 1, 1, 1, 2, 2, 2], [0, 0, 0, 100, 100, 1, 200, 200, 2])  
   
 #Why is that? Culling hasn't ever affected translation.  
206  #    c.setAffineParams(cs4clip, 0, 1500, 1500, 10, 0, 0, 10)  #    c.setAffineParams(cs4clip, 0, 1500, 1500, 10, 0, 0, 10)
207  #    checkNoTrans(vs, cs4cull)  #    checkNoTrans(vs, cs4cull)
208    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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