Destroy a height-field * @param heightField A pointer to the height field to destroy */
| 737 | * @param heightField A pointer to the height field to destroy |
| 738 | */ |
| 739 | void PhysicsCommon::destroyHeightField(HeightField* heightField) { |
| 740 | |
| 741 | deleteHeightField(heightField); |
| 742 | |
| 743 | mHeightFields.remove(heightField); |
| 744 | } |
| 745 | |
| 746 | // Delete a triangle mesh |
| 747 | /** |