Work simplifying marching cubes implementations.

This commit is contained in:
David Williams
2008-06-12 18:30:13 +00:00
parent 2657d5ba6f
commit e1e8e2c8cc
6 changed files with 47 additions and 59 deletions

View File

@ -38,9 +38,11 @@ namespace PolyVox
}
SurfaceVertex::SurfaceVertex(Vector3DFloat positionToSet, Vector3DFloat normalToSet)
SurfaceVertex::SurfaceVertex(Vector3DFloat positionToSet, Vector3DFloat normalToSet, float materialToSet, float alphaToSet)
:position(positionToSet)
,normal(normalToSet)
,material(materialToSet)
,alpha(alphaToSet)
{
}