- Timestamp:
- 09/12/08 18:07:04 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/Polyhedron.cpp
r2931 r2936 275 275 } 276 276 277 // add the new polygon to the polyhedron278 clippedPolyhedron->Add(planePoly);279 280 281 277 282 278 ///////////// 283 279 //-- clip polyhedron: plane splits all polygons 284 280 285 for ( int i = 0; i < (int)mPolygons.size(); ++ i)281 for (size_t i = 0; i < mPolygons.size(); ++ i) 286 282 { 287 283 Polygon3 *poly = mPolygons[i]; … … 320 316 } 321 317 } 318 319 // we can now savely add the new polygon 320 clippedPolyhedron->Add(planePoly); 322 321 323 322 return clippedPolyhedron;
Note: See TracChangeset
for help on using the changeset viewer.