Refactoring mesh generation code.

This commit is contained in:
David Williams
2007-10-07 16:33:53 +00:00
parent 8137b1eb46
commit 52446c765d
9 changed files with 149 additions and 28 deletions

View File

@@ -1,5 +1,5 @@
#ifndef __SurfacePatch_H__
#define __SurfacePatch_H__
#ifndef __HalfEdgeSurfacePatch_H__
#define __HalfEdgeSurfacePatch_H__
#include <set>
#include <list>
@@ -12,11 +12,11 @@
namespace Ogre
{
class SurfacePatch : public AbstractSurfacePatch
class HalfEdgeSurfacePatch : public AbstractSurfacePatch
{
public:
SurfacePatch();
~SurfacePatch();
HalfEdgeSurfacePatch();
~HalfEdgeSurfacePatch();
//This allow users of the class to iterate over its contents.
SurfaceEdgeIterator getEdgesBegin(void);
@@ -51,4 +51,4 @@ namespace Ogre
};
}
#endif /* __SurfacePatch_H__ */
#endif /* __HalfEdgeSurfacePatch_H__ */