[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz ./TODO gfx/libcoords/Coords.cxx gzz/view/bu...
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz ./TODO gfx/libcoords/Coords.cxx gzz/view/bu... |
Date: |
Wed, 12 Feb 2003 11:07:21 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 03/02/12 11:07:21
Modified files:
. : TODO
gfx/libcoords : Coords.cxx
gzz/view/buoy : buoymanager.py pagespanNodes.py
Log message:
Fix big culling bug
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/TODO.diff?tr1=1.571&tr2=1.572&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gfx/libcoords/Coords.cxx.diff?tr1=1.68&tr2=1.69&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/view/buoy/buoymanager.py.diff?tr1=1.28&tr2=1.29&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/view/buoy/pagespanNodes.py.diff?tr1=1.30&tr2=1.31&r1=text&r2=text
Patches:
Index: gzz/TODO
diff -u gzz/TODO:1.571 gzz/TODO:1.572
--- gzz/TODO:1.571 Wed Feb 12 06:53:13 2003
+++ gzz/TODO Wed Feb 12 11:07:21 2003
@@ -228,6 +228,7 @@
Specifically, need to be able to use gzipped S3TC files;
should be a LOT faster to load.
humppake:
+ - make test that catches tjl's quick fix to culling coordsys in article
rush
- fix dep directive to be
dep BuoyViewNode "calls" BuoyLinkListener
instead of
Index: gzz/gfx/libcoords/Coords.cxx
diff -u gzz/gfx/libcoords/Coords.cxx:1.68 gzz/gfx/libcoords/Coords.cxx:1.69
--- gzz/gfx/libcoords/Coords.cxx:1.68 Tue Feb 11 05:58:52 2003
+++ gzz/gfx/libcoords/Coords.cxx Wed Feb 12 11:07:21 2003
@@ -1171,7 +1171,7 @@
float i, j;
Pt box = cs->getSqSize();
float x1, y1, x2, y2;
- for (i=0; i<=box.x; i+=box.y) {
+ for (i=0; i<=box.x; i+=box.x) {
for (j=0; j<=box.y; j+=box.y) {
if (i==0 && j==0) {
/** Initializing. */
Index: gzz/gzz/view/buoy/buoymanager.py
diff -u gzz/gzz/view/buoy/buoymanager.py:1.28
gzz/gzz/view/buoy/buoymanager.py:1.29
--- gzz/gzz/view/buoy/buoymanager.py:1.28 Wed Feb 12 08:58:00 2003
+++ gzz/gzz/view/buoy/buoymanager.py Wed Feb 12 11:07:21 2003
@@ -80,7 +80,7 @@
anchorUnit = self.vs.unitSqCS(anchorCS, "UN")
anchorCenter = self.vs.translateCS(anchorUnit, "TR55", .5, .5)
x = self.ctrx
- r = self.ctrx * .5
+ r = self.ctry * 1.2
if dir > 0:
buoy = self.vs.coords.buoyOnCircle(0, anchorCenter,
x, self.ctry, r,
@@ -92,9 +92,9 @@
x+r, self.ctry,
.1)
self.vs.matcher.add(buoy, linkId)
- w = 150
- h = 150
- sca = .5
+ w = 400
+ h = 400
+ sca = 1
into = self.vs.orthoBoxCS(buoy, "V"+str(linkId), -100, -w*sca/2,
-h*sca/20,
.5, .5, w, h)
if 0:
Index: gzz/gzz/view/buoy/pagespanNodes.py
diff -u gzz/gzz/view/buoy/pagespanNodes.py:1.30
gzz/gzz/view/buoy/pagespanNodes.py:1.31
--- gzz/gzz/view/buoy/pagespanNodes.py:1.30 Wed Feb 12 09:05:55 2003
+++ gzz/gzz/view/buoy/pagespanNodes.py Wed Feb 12 11:07:21 2003
@@ -98,6 +98,7 @@
layout.place(vs, paperCS, .6, 200, into)
gzz.gfx.gl.Stencil.drawStenciled(vs, ContentR(), None, FrameR(),
LayoutR(), 1)
+ # LayoutR().run()
# XXX!!!!