Templatised SurfaceMesh class on vertex type.
Replaced 'SurfaceVertex' with PositionMaterial and PositionMaterialNormal classes. Different surface extractors can now work with different vertex types.
This commit is contained in:
@ -37,7 +37,7 @@ namespace PolyVox
|
||||
{
|
||||
public:
|
||||
MeshVertex();
|
||||
SurfaceVertex m_vertexData;
|
||||
PositionMaterialNormal m_vertexData;
|
||||
//MeshEdge* m_pEdge;
|
||||
//std::set<MeshFace*> m_faces;
|
||||
//std::set<MeshEdge*> m_edges; //Edges which have this vertex as the src
|
||||
|
Reference in New Issue
Block a user