Removed lots of old decimation code.

This commit is contained in:
David Williams
2007-09-21 15:01:28 +00:00
parent 2f5f179886
commit 63c5886d1d
4 changed files with 3 additions and 675 deletions

View File

@@ -43,28 +43,12 @@ namespace Ogre
void computeNormalsFromVolume(VolumeIterator volIter);
#ifdef BLAH
bool decimate(void);
bool canCollapseEdge(SurfaceVertex target, SurfaceVertex other);
void collapseEdge(SurfaceEdgeIterator edgeIter);
#endif
#ifdef BLAH2
bool decimate2(void);
bool canCollapseEdge2(SurfaceVertex target, SurfaceVertex other);
void collapseEdge2(SurfaceEdgeIterator edgeIter);
bool matchesAll(uchar target, uchar other);
#endif
bool canRemoveVertex(SurfaceVertexIterator vertexIter);
bool canRemoveVertexFrom(SurfaceVertexIterator vertexIter, std::list<SurfaceVertexIterator> listConnectedIter, bool isEdge);
std::list<SurfaceVertexIterator> findConnectedVertices(SurfaceVertexIterator vertexIter, bool& isEdge);
std::list<SurfaceEdgeIterator> removeTrianglesAndFindEdges(SurfaceVertexIterator vertexIter);
bool decimate3(void);
bool decimateOneVertex(void);
//bool verticesArePlanar(SurfaceVertexIterator iterCurrentVertex);
UIntVector3 m_v3dOffset;