[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz gfx/libcoords/Coords.cxx test/gzz/gfx/gl/gl...
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz gfx/libcoords/Coords.cxx test/gzz/gfx/gl/gl... |
Date: |
Tue, 01 Oct 2002 04:12:06 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 02/10/01 04:12:06
Modified files:
gfx/libcoords : Coords.cxx
test/gzz/gfx/gl: glvobcoorder.test
Log message:
ahhh
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libcoords/Coords.cxx.diff?tr1=1.21&tr2=1.22&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/gfx/gl/glvobcoorder.test.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: gzz/gfx/libcoords/Coords.cxx
diff -c gzz/gfx/libcoords/Coords.cxx:1.21 gzz/gfx/libcoords/Coords.cxx:1.22
*** gzz/gfx/libcoords/Coords.cxx:1.21 Tue Oct 1 04:03:57 2002
--- gzz/gfx/libcoords/Coords.cxx Tue Oct 1 04:12:06 2002
***************
*** 168,173 ****
--- 168,174 ----
enum { NParams = 1 };
template<class Ptr> void setParams(Ptr p) {
a = p[0];
+ angleWasSet();
}
void angleWasSet() {
s = sin(a * M_PI / 180);
Index: gzz/test/gzz/gfx/gl/glvobcoorder.test
diff -c gzz/test/gzz/gfx/gl/glvobcoorder.test:1.3
gzz/test/gzz/gfx/gl/glvobcoorder.test:1.4
*** gzz/test/gzz/gfx/gl/glvobcoorder.test:1.3 Tue Oct 1 04:03:57 2002
--- gzz/test/gzz/gfx/gl/glvobcoorder.test Tue Oct 1 04:12:06 2002
***************
*** 56,68 ****
cs_rot = c.rotateXY(0, 15)
cs_rot2 = c.rotateXY(cs_ortho, 15)
cs_rot3 = c.rotateXY(cs_rot2, 15)
! cs_ortho3 = c.coordsys(cs_rot3, -1.92, 4.1, 2.951, 2.52, 291)
- checkInverse(c, cs_ortho)
- checkInverse(c, cs_ortho2)
- checkInverse(c, cs_ortho3)
checkInverse(c, cs_rot)
checkInverse(c, cs_rot2)
checkInverse(c, cs_rot3)
--- 56,73 ----
cs_rot = c.rotateXY(0, 15)
cs_rot2 = c.rotateXY(cs_ortho, 15)
cs_rot3 = c.rotateXY(cs_rot2, 15)
! cs_ortho3 = c.coordsys(cs_rot, -1.92, 4.1, 2.951, 2.52, 291)
! cs_ortho4 = c.coordsys(cs_rot2, -1.92, 4.1, 2.951, 2.52, 291)
! cs_ortho5 = c.coordsys(cs_rot3, -1.92, 4.1, 2.951, 2.52, 291)
checkInverse(c, cs_rot)
checkInverse(c, cs_rot2)
checkInverse(c, cs_rot3)
+
+ checkInverse(c, cs_ortho)
+ checkInverse(c, cs_ortho2)
+ checkInverse(c, cs_ortho3)
+ checkInverse(c, cs_ortho4)
+ checkInverse(c, cs_ortho5)