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:
@ -38,8 +38,8 @@ namespace PolyVox
|
||||
{
|
||||
public:
|
||||
|
||||
void buildFromMesh(SurfaceMesh* pMesh);
|
||||
void fillMesh(SurfaceMesh* pMesh);
|
||||
void buildFromMesh(SurfaceMesh<PositionMaterialNormal>* pMesh);
|
||||
void fillMesh(SurfaceMesh<PositionMaterialNormal>* pMesh);
|
||||
void matchEdgePairs(void);
|
||||
void computeEdgeCosts(void);
|
||||
|
||||
|
Reference in New Issue
Block a user