This commit is contained in:
Irlan
2018-05-11 03:41:17 -03:00
parent b8ece1356f
commit 59990ed981

View File

@ -173,6 +173,7 @@ void b3QHull::Set(const b3Vec3* points, u32 count)
if (psCount < 4) if (psCount < 4)
{ {
// Polyhedron is degenerate. // Polyhedron is degenerate.
b3Free(ps);
return; return;
} }