This commit is contained in:
Irlan 2018-05-01 05:11:39 -03:00
parent 883cc9059f
commit 945c4c413d

View File

@ -128,7 +128,7 @@ void qhHull::Construct(const b3Vec3* vs, u32 count)
FreeFace(f);
}
m_horizon = (qhHalfEdge**)((u8*)faces + F * sizeof(qhFace*));
m_horizon = (qhHalfEdge**)((u8*)faces + F * sizeof(qhFace));
m_horizonCount = 0;
m_horizonVertices = (qhVertex**)((u8*)m_horizon + HE * sizeof(qhHalfEdge*));