Destroy a capsule collision shape * @param capsuleShape A pointer to the capsule shape to destroy */
| 395 | * @param capsuleShape A pointer to the capsule shape to destroy |
| 396 | */ |
| 397 | void PhysicsCommon::destroyCapsuleShape(CapsuleShape* capsuleShape) { |
| 398 | |
| 399 | deleteCapsuleShape(capsuleShape); |
| 400 | |
| 401 | mCapsuleShapes.remove(capsuleShape); |
| 402 | } |
| 403 | |
| 404 | // Delete a capsule collision shape |
| 405 | /** |