Added flag to test if we are on a material boundary.

This commit is contained in:
David Williams
2009-09-01 17:24:00 +00:00
parent 5ca6178e10
commit 10c0f794b1
4 changed files with 12 additions and 2 deletions

View File

@ -32,6 +32,7 @@ namespace PolyVox
SurfaceVertex::SurfaceVertex(Vector3DFloat positionToSet, float materialToSet)
:position(positionToSet)
,material(materialToSet)
,m_bIsMaterialEdgeVertex(false)
{
}
@ -40,6 +41,7 @@ namespace PolyVox
:position(positionToSet)
,normal(normalToSet)
,material(materialToSet)
,m_bIsMaterialEdgeVertex(false)
{
}