/[gzz]/gzz/gfx/demo/opengl/culltest.py
ViewVC logotype

Diff of /gzz/gfx/demo/opengl/culltest.py

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

revision 1.6 by tjl, Fri Feb 21 20:02:31 2003 UTC revision 1.7 by humppake, Mon Mar 3 13:15:05 2003 UTC
# Line 44  class ViewScene: Line 44  class ViewScene:
44          w = .5 * size.width          w = .5 * size.width
45          h = .5 * size.height          h = .5 * size.height
46                    
47          self.bgcolor = (0.2, 0.3, 0.4)          self.bgcolor = (0.8, 0.8, 0.8)
48          putnoc(vs, background(self.bgcolor))          putnoc(vs, background(self.bgcolor))
49    
50          pap = ThePaperMill().getPaper(0, passmask=[1,1,1,1])          pap = ThePaperMill().getPaper(0, passmask=[1,1,1,1])
# Line 78  class ViewScene: Line 78  class ViewScene:
78          c_vob = gzz.vob.vobs.RectBgVob()          c_vob = gzz.vob.vobs.RectBgVob()
79          c_vob.setBg(java.awt.Color.green)          c_vob.setBg(java.awt.Color.green)
80          vs.map.put(c_vob, cs_clip_r)          vs.map.put(c_vob, cs_clip_r)
81          vs.map.put(renderable, cs_cull)          vs.map.put(renderable, cs_cull, 0)
82    
83      def x(self, angle, radius):      def x(self, angle, radius):
84          return (Math.cos(angle) * radius)          return (Math.cos(angle) * radius)

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

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