rename a variable
This commit is contained in:
parent
c9dfa30af5
commit
cbf473839e
@ -463,7 +463,7 @@ void qhHull::AddNewFaces(qhVertex* eye)
|
|||||||
|
|
||||||
// Use tolerance and discard internal points.
|
// Use tolerance and discard internal points.
|
||||||
float32 max = m_tolerance;
|
float32 max = m_tolerance;
|
||||||
qhFace* iMax = NULL;
|
qhFace* maxFace = NULL;
|
||||||
|
|
||||||
for (u32 i = 0; i < m_newFaceCount; ++i)
|
for (u32 i = 0; i < m_newFaceCount; ++i)
|
||||||
{
|
{
|
||||||
@ -472,16 +472,16 @@ void qhHull::AddNewFaces(qhVertex* eye)
|
|||||||
if (d > max)
|
if (d > max)
|
||||||
{
|
{
|
||||||
max = d;
|
max = d;
|
||||||
iMax = newFace;
|
maxFace = newFace;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (iMax)
|
if (maxFace)
|
||||||
{
|
{
|
||||||
qhVertex* v0 = v;
|
qhVertex* v0 = v;
|
||||||
v->conflictFace = NULL;
|
v->conflictFace = NULL;
|
||||||
v = f->conflictList.Remove(v);
|
v = f->conflictList.Remove(v);
|
||||||
iMax->conflictList.PushFront(v0);
|
maxFace->conflictList.PushFront(v0);
|
||||||
v0->conflictFace = iMax;
|
v0->conflictFace = iMax;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user