remove unecessary initialization; add two comments
This commit is contained in:
parent
3dc3a20024
commit
15b8ea3f42
@ -194,19 +194,15 @@ void qhHull::Construct(const b3Vec3* vs, u32 count)
|
|||||||
m_newFaces = (qhFace**)((u8*)m_conflictVertices + V * sizeof(qhVertex*));
|
m_newFaces = (qhFace**)((u8*)m_conflictVertices + V * sizeof(qhVertex*));
|
||||||
m_newFaceCount = 0;
|
m_newFaceCount = 0;
|
||||||
|
|
||||||
m_vertexList.head = NULL;
|
|
||||||
m_vertexList.count = 0;
|
|
||||||
|
|
||||||
m_faceList.head = NULL;
|
|
||||||
m_faceList.count = 0;
|
|
||||||
|
|
||||||
m_iterations = 0;
|
m_iterations = 0;
|
||||||
|
|
||||||
|
// Build initial tetrahedron
|
||||||
if (!BuildInitialHull(vs, count))
|
if (!BuildInitialHull(vs, count))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Run Quickhull
|
||||||
qhVertex* eye = FindEyeVertex();
|
qhVertex* eye = FindEyeVertex();
|
||||||
while (eye)
|
while (eye)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user