Refactoring work... Argh, this is hard!
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef __SurfacePatch_H__
|
||||
#define __SurfacePatch_H__
|
||||
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
#include "SurfaceVertex.h"
|
||||
@@ -16,12 +17,17 @@ namespace Ogre
|
||||
|
||||
void addTriangle(const SurfaceVertex& v0,const SurfaceVertex& v1,const SurfaceVertex& v2);
|
||||
|
||||
const std::vector<SurfaceVertex>& getVertexArray();
|
||||
const std::vector<SurfaceTriangle>& getTriangleArray();
|
||||
/*const std::vector<SurfaceVertex> getVertexArray();
|
||||
const std::vector<SurfaceTriangle> getTriangleArray();*/
|
||||
|
||||
void getVertexAndIndexData(std::vector<SurfaceVertex>& vertexData, std::vector<uint>& indexData);
|
||||
|
||||
private:
|
||||
std::vector<SurfaceVertex> m_vecVertices;
|
||||
std::vector<SurfaceTriangle> m_vecTriangles;
|
||||
std::list<SurfaceVertex> m_listVertices;
|
||||
std::list<SurfaceTriangle> m_listTriangles;
|
||||
|
||||
std::vector<SurfaceVertex> m_vecVertexData;
|
||||
std::vector<uint> m_vecIndexData;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user