gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/gfx/libpaper texcoords.py


From: Tuomas J. Lukka
Subject: [Gzz-commits] gzz/gfx/libpaper texcoords.py
Date: Sat, 31 Aug 2002 02:02:00 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuomas J. Lukka <address@hidden>        02/08/31 02:02:00

Modified files:
        gfx/libpaper   : texcoords.py 

Log message:
        Oopsie2

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libpaper/texcoords.py.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: gzz/gfx/libpaper/texcoords.py
diff -c gzz/gfx/libpaper/texcoords.py:1.4 gzz/gfx/libpaper/texcoords.py:1.5
*** gzz/gfx/libpaper/texcoords.py:1.4   Sat Aug 31 02:00:29 2002
--- gzz/gfx/libpaper/texcoords.py       Sat Aug 31 02:02:00 2002
***************
*** 95,105 ****
        # along one of the coordinate axes. Here we also get to check
        # whether all components are zero.
        if v[0] != 0:
!           vec3 = (- v[4] / v[0], 0, 0)
        elif v[1] != 0:
!           vec3 = (0, - v[4] / v[1], 0)
        elif v[2] != 0:
!           vec3 = (0, 0, - v[4] / v[2])
        else:
            assert 0, "Vec was all zero!"
  
--- 95,105 ----
        # along one of the coordinate axes. Here we also get to check
        # whether all components are zero.
        if v[0] != 0:
!           vec3 = (- v[3] / v[0], 0, 0)
        elif v[1] != 0:
!           vec3 = (0, - v[3] / v[1], 0)
        elif v[2] != 0:
!           vec3 = (0, 0, - v[3] / v[2])
        else:
            assert 0, "Vec was all zero!"
  




reply via email to

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