Work on VolumeChangeTracker.

This commit is contained in:
David Williams
2009-04-21 21:46:55 +00:00
parent d61827c365
commit 498db68b59
3 changed files with 45 additions and 65 deletions

View File

@ -161,6 +161,7 @@ namespace PolyVox
SurfaceVertex& v2 = ispOutput.m_vecVertices[*iterIndex];
iterIndex++;
//FIXME - instead of finding these opposite points (Opp) we could just use the midpoint?
Vector3DFloat v0Opp = (v1.position + v2.position) / 2.0f;
Vector3DFloat v1Opp = (v0.position + v2.position) / 2.0f;
Vector3DFloat v2Opp = (v0.position + v1.position) / 2.0f;