Work on mesh decimation.

This commit is contained in:
David Williams
2007-09-09 23:28:09 +00:00
parent c2194378cd
commit 358192b38a
3 changed files with 262 additions and 204 deletions

View File

@ -42,7 +42,15 @@ namespace Ogre
void computeOtherHalfEdges(void);
#ifdef BLAH
bool decimate(void);
bool canCollapseEdge(SurfaceVertex target, SurfaceVertex other);
void collapseEdge(SurfaceEdgeIterator edgeIter);
#endif
bool decimate2(void);
bool canCollapseEdge2(SurfaceVertex target, SurfaceVertex other);
void collapseEdge2(SurfaceEdgeIterator edgeIter);
//bool verticesArePlanar(SurfaceVertexIterator iterCurrentVertex);