Search found 1 match

by RolandSt
Tue Jul 24, 2012 1:10 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Errors in some btAssert expressions
Replies: 0
Views: 1890

Errors in some btAssert expressions

Hello, there are some incorrect assert expressions (wrong boolean logic) inside some Demos. E.G. FractureDemo.cpp(275): btAssert(( ! m_shootBoxShape || m_shootBoxShape->getShapeType() != INVALID_SHAPE_PROXYTYPE)); should be btAssert((m_shootBoxShape && m_shootBoxShape->getShapeType() != INVALID_SHAP...