favreau / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

updateSingleAabb(btCollisionObject* colObj) does error checking outside an ASSERT #491

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For every objects this code is executed for error checking:

if ( colObj->isStaticObject() || ((maxAabb-minAabb).length2() < btScalar(1e12)))

The code should be placed in an ASSERT to remove it from non Debug versions.

Original issue reported on code.google.com by linz...@gmx.de on 10 Mar 2011 at 9:36

GoogleCodeExporter commented 9 years ago
see https://github.com/bulletphysics/bullet3/issues/145

Original comment by erwin.coumans on 30 Mar 2014 at 7:46