Work on mesh decimation.

This commit is contained in:
David Williams
2007-09-21 11:46:37 +00:00
parent 00dbe56ef7
commit d467a3a314
6 changed files with 337 additions and 115 deletions

View File

@@ -56,6 +56,9 @@ namespace Ogre
bool matchesAll(uchar target, uchar other);
#endif
bool canRemoveVertex(SurfaceVertexIterator vertexIter);
std::list<SurfaceVertexIterator> findConnectedVertices(SurfaceVertexIterator vertexIter);
std::list<SurfaceEdgeIterator> removeTrianglesAndFindEdges(SurfaceVertexIterator vertexIter);
bool decimate3(void);