fix uninitialized variable in btMultiBody

use btAssert to detect 0 determinant in btMatrix3x3 inverse
Remove obsolete comment in PosixSharedMemory, the Windows shared memory implementation was done over a year ago
This commit is contained in:
erwincoumans
2016-09-23 21:59:38 -07:00
parent 666c8f47b7
commit fe6c8775da
5 changed files with 27 additions and 4 deletions

View File

@@ -677,6 +677,7 @@ private:
btMatrix3x3 m_cachedInertiaTopRight;
btMatrix3x3 m_cachedInertiaLowerLeft;
btMatrix3x3 m_cachedInertiaLowerRight;
bool m_cachedInertiaValid;
bool m_fixedBase;