Return the local bounds of the shape in x, y and z directions. * @return The AABB with the min/max bounds of the shape */
| 48 | * @return The AABB with the min/max bounds of the shape |
| 49 | */ |
| 50 | AABB HeightFieldShape::getLocalBounds() const { |
| 51 | AABB aabb = mHeightField->getBounds(); |
| 52 | aabb.applyScale(mScale); |
| 53 | return aabb; |
| 54 | } |
| 55 | |
| 56 | // Test collision with the triangles of the height field shape. The idea is to use the AABB |
| 57 | // of the body when need to test and see against which triangles of the height-field we need |
nothing calls this directly
no test coverage detected