gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/gfx/demo irregular2.py


From: Benja Fallenstein
Subject: [Gzz-commits] gzz/gfx/demo irregular2.py
Date: Tue, 17 Sep 2002 10:43:18 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Benja Fallenstein <address@hidden>      02/09/17 10:43:17

Modified files:
        gfx/demo       : irregular2.py 

Log message:
        Python has nice comparison syntax :)

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/demo/irregular2.py.diff?tr1=1.8&tr2=1.9&r1=text&r2=text

Patches:
Index: gzz/gfx/demo/irregular2.py
diff -c gzz/gfx/demo/irregular2.py:1.8 gzz/gfx/demo/irregular2.py:1.9
*** gzz/gfx/demo/irregular2.py:1.8      Tue Sep 17 09:13:38 2002
--- gzz/gfx/demo/irregular2.py  Tue Sep 17 10:43:17 2002
***************
*** 66,72 ****
                  Enable TEXTURE_GEN_T
  
                  ActiveTexture TEXTURE0
!                 
                  BindTexture TEXTURE_2D %s
                  Enable TEXTURE_2D
                  %s REGISTER_COMBINERS_NV
--- 66,72 ----
                  Enable TEXTURE_GEN_T
  
                  ActiveTexture TEXTURE0
! 
                  BindTexture TEXTURE_2D %s
                  Enable TEXTURE_2D
                  %s REGISTER_COMBINERS_NV
***************
*** 100,110 ****
              else:
                  self.combiners = "Enable"
              self.initirregu()
!         elif k >= "1" and k <= "9":
              self.mode ^= 1 << (int(k)-1)
              print "mode=", self.mode
        pass
!     
      def scene(self, vs):
        putnoc(vs, background((0.1,0.4,0.5)))
  
--- 100,110 ----
              else:
                  self.combiners = "Enable"
              self.initirregu()
!         elif "1" <= k <= "9":
              self.mode ^= 1 << (int(k)-1)
              print "mode=", self.mode
        pass
! 
      def scene(self, vs):
        putnoc(vs, background((0.1,0.4,0.5)))
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]