From 6dba436470d7a2152b98e4478b108ea48ccb8275 Mon Sep 17 00:00:00 2001 From: Irlan <-> Date: Sat, 21 Apr 2018 15:24:55 -0300 Subject: [PATCH] duplicated code --- src/bounce/collision/shapes/qhull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bounce/collision/shapes/qhull.cpp b/src/bounce/collision/shapes/qhull.cpp index b0c95c9..407bc8c 100644 --- a/src/bounce/collision/shapes/qhull.cpp +++ b/src/bounce/collision/shapes/qhull.cpp @@ -245,7 +245,7 @@ void b3QHull::Set(const b3Vec3* points, u32 count) u8 iedge = (u8)es.Find(edge); b3HalfEdge* hedge = edges + iedge; hedge->face = u8(iface); - hedge->origin = (u8)vs.Find(edge->tail); + hedge->origin = iv; qhHalfEdge* twin = edge->twin; u8 itwin = (u8)es.Find(twin);