Return the local bounds of the shape in x, y and z directions. This method is used to compute the AABB of the box * @param min The minimum bounds of the shape in local-space coordinates * @param max The maximum bounds of the shape in local-space coordinates */
| 274 | * @param max The maximum bounds of the shape in local-space coordinates |
| 275 | */ |
| 276 | AABB ConcaveMeshShape::getLocalBounds() const { |
| 277 | |
| 278 | // Get the AABB of the whole tree |
| 279 | AABB aabb = mTriangleMesh->getBounds(); |
| 280 | |
| 281 | // Apply the scale factor |
| 282 | aabb.applyScale(mScale); |
| 283 | |
| 284 | return aabb; |
| 285 | } |
| 286 | |
| 287 | // Return the integer data of leaf node of the dynamic AABB tree |
| 288 | int32 ConcaveMeshShape::getDynamicAABBTreeNodeDataInt(int32 nodeID) const { |
nothing calls this directly
no test coverage detected