/[libvob]/libvob/include/vob/trans/DisablablePrimitives.hxx
ViewVC logotype

Diff of /libvob/include/vob/trans/DisablablePrimitives.hxx

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

revision 1.2 by tjl, Fri Apr 4 12:34:59 2003 UTC revision 1.3 by tjl, Tue Apr 8 20:25:02 2003 UTC
# Line 157  DBGVAR(dbg_cull, "Vob.Primitives.Cull"); Line 157  DBGVAR(dbg_cull, "Vob.Primitives.Cull");
157        static void findBoundingBox(const Transform *t, ZPt &p1, ZPt &p2) {        static void findBoundingBox(const Transform *t, ZPt &p1, ZPt &p2) {
158          float i, j;          float i, j;
159          Pt box = t->getSqSize();          Pt box = t->getSqSize();
160          float x1, y1, x2, y2;          float x1=0, y1=0, x2=0, y2=0;
161          for (i=0; i<=box.x; i+=box.x) {          for (i=0; i<=box.x; i+=box.x) {
162            for (j=0; j<=box.y; j+=box.y) {            for (j=0; j<=box.y; j+=box.y) {
163              if (i==0 && j==0) {              if (i==0 && j==0) {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

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