fix 64-bit issue, can't cast void* to int.
This commit is contained in:
@@ -141,7 +141,7 @@ public:
|
||||
}
|
||||
void Process(const btDbvtNode* leaf)
|
||||
{
|
||||
int index = int(leaf->data);
|
||||
int index = leaf->dataAsInt;
|
||||
|
||||
btCompoundShape* compoundShape = static_cast<btCompoundShape*>(m_compoundColObj->getCollisionShape());
|
||||
btCollisionShape* childShape = compoundShape->getChildShape(index);
|
||||
|
||||
Reference in New Issue
Block a user