Delete a height-field * @param heightField A pointer to the height-field to destroy */
| 761 | * @param heightField A pointer to the height-field to destroy |
| 762 | */ |
| 763 | void PhysicsCommon::deleteHeightField(HeightField* heightField) { |
| 764 | |
| 765 | // Call the destructor of the shape |
| 766 | heightField->~HeightField(); |
| 767 | |
| 768 | // Release allocated memory |
| 769 | mMemoryManager.release(MemoryManager::AllocationType::Pool, heightField, sizeof(HeightField)); |
| 770 | } |
| 771 | |
| 772 | // Create and return a new logger |
| 773 | /** |
nothing calls this directly
no test coverage detected