Added flag to test if we are on a material boundary.
This commit is contained in:
@ -45,7 +45,7 @@ namespace PolyVox
|
||||
uint32_t getNoOfNonUniformTrianges(void) const;
|
||||
uint32_t getNoOfUniformTrianges(void) const;
|
||||
uint32_t getNoOfVertices(void) const;
|
||||
std::vector<SurfaceVertex>& getRawVertexData(void); //FIXME - this shoudl be removed
|
||||
std::vector<SurfaceVertex>& getRawVertexData(void); //FIXME - this should be removed
|
||||
const std::vector<SurfaceVertex>& getVertices(void) const;
|
||||
|
||||
void addTriangle(uint32_t index0, uint32_t index1, uint32_t index2);
|
||||
|
@ -48,8 +48,9 @@ namespace PolyVox
|
||||
public:
|
||||
Vector3DFloat position;
|
||||
Vector3DFloat normal;
|
||||
float material;
|
||||
float material; //FIXME: This shouldn't be float on CPU?
|
||||
bool m_bIsEdgeVertex;
|
||||
bool m_bIsMaterialEdgeVertex;
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user