Refactoring work... working on meshes
This commit is contained in:
@@ -15,10 +15,9 @@ namespace Ogre
|
||||
SurfacePatch();
|
||||
~SurfacePatch();
|
||||
|
||||
void addTriangle(const SurfaceVertex& v0,const SurfaceVertex& v1,const SurfaceVertex& v2);
|
||||
void endDefinition(void);
|
||||
|
||||
/*const std::vector<SurfaceVertex> getVertexArray();
|
||||
const std::vector<SurfaceTriangle> getTriangleArray();*/
|
||||
void addTriangle(const SurfaceVertex& v0,const SurfaceVertex& v1,const SurfaceVertex& v2);
|
||||
|
||||
void getVertexAndIndexData(std::vector<SurfaceVertex>& vertexData, std::vector<uint>& indexData);
|
||||
|
||||
@@ -28,6 +27,8 @@ namespace Ogre
|
||||
|
||||
std::vector<SurfaceVertex> m_vecVertexData;
|
||||
std::vector<uint> m_vecIndexData;
|
||||
|
||||
uint m_uTrianglesAdded;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user