From 945c4c413dfcfb7c52c1edac47e8d6df59c647d6 Mon Sep 17 00:00:00 2001 From: Irlan <-> Date: Tue, 1 May 2018 05:11:39 -0300 Subject: [PATCH] bugfix --- src/bounce/quickhull/qh_hull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bounce/quickhull/qh_hull.cpp b/src/bounce/quickhull/qh_hull.cpp index 7a39635..654b889 100644 --- a/src/bounce/quickhull/qh_hull.cpp +++ b/src/bounce/quickhull/qh_hull.cpp @@ -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*));