Adding more btAsserts.
This commit is contained in:
parent
78e6a6a6b6
commit
6f980b7605
@ -303,6 +303,9 @@ public:
|
||||
|
||||
void setInvInertiaDiagLocal(const btVector3& diagInvInertia)
|
||||
{
|
||||
btAssert(!isnan(diagInvInertia.getX()));
|
||||
btAssert(!isnan(diagInvInertia.getY()));
|
||||
btAssert(!isnan(diagInvInertia.getZ()));
|
||||
m_invInertiaLocal = diagInvInertia;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user