/[libvob]/libvob/include/vob/poly/Dicer.hxx
ViewVC logotype

Diff of /libvob/include/vob/poly/Dicer.hxx

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

revision 1.6 by tjl, Wed Jun 11 17:41:55 2003 UTC revision 1.7 by tjl, Mon Jun 23 14:53:19 2003 UTC
# Line 164  namespace Dicer { Line 164  namespace Dicer {
164              }              }
165          }          }
166          template <class F> void iterateTriangles(F func) {          template <class F> void iterateTriangles(F func) {
167              for(Titer x = tris.begin(); x != tris.end(); x++)              DBG(dbg) << "IterateTriangles: start\n";
168                for(Titer x = tris.begin(); x != tris.end(); x++) {
169                    DBG(dbg) << "IterateTriangles: tri " <<
170                            (*x).v[0] <<" "<<
171                            (*x).v[1] <<" "<<
172                            (*x).v[2] << "\n";
173                  func( (*x).v[0], (*x).v[1], (*x).v[2]);                  func( (*x).v[0], (*x).v[1], (*x).v[2]);
174                }
175          }          }
176          void draw() {          void draw() {
177              glBegin(GL_TRIANGLES);              glBegin(GL_TRIANGLES);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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