fenfire-commits
[Top][All Lists]
Advanced

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

[ff-cvs] libvob/include/vob/vobs Lines.hxx


From: Matti Katila
Subject: [ff-cvs] libvob/include/vob/vobs Lines.hxx
Date: Fri, 22 Aug 2003 09:51:35 -0400

CVSROOT:        /cvsroot/libvob
Module name:    libvob
Branch:         
Changes by:     Matti Katila <address@hidden>   03/08/22 09:51:35

Modified files:
        include/vob/vobs: Lines.hxx 

Log message:
        more debug, why transform doesn't affect?

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/include/vob/vobs/Lines.hxx.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: libvob/include/vob/vobs/Lines.hxx
diff -u libvob/include/vob/vobs/Lines.hxx:1.5 
libvob/include/vob/vobs/Lines.hxx:1.6
--- libvob/include/vob/vobs/Lines.hxx:1.5       Fri Aug 22 09:19:53 2003
+++ libvob/include/vob/vobs/Lines.hxx   Fri Aug 22 09:51:35 2003
@@ -57,10 +57,13 @@
     template<class T> void render(const T &coords1) const {
       vector<ZPt> pts;
       for (unsigned int i=0; i+2<points.size(); i+=3) {
+       std::cout << "render: in: " << points[i] << ", " << points[i+1] << "\n";
        ZPt p = coords1.transform( ZPt(points[i], points[i+1], points[i+2]) );
+       std::cout << "render: out: " << p.x << ", " << p.y << "\n";
        pts.push_back(p);
       }
 
+      // XXX constructor in params and call only render...
       if (pts.size() <= 2) {
        Lines::SimpleLine l = Lines::SimpleLine(texId, width, pts);
        l.draw();




reply via email to

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