MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / destroyHeightField

Method destroyHeightField

src/engine/PhysicsCommon.cpp:739–744  ·  view source on GitHub ↗

Destroy a height-field * @param heightField A pointer to the height field to destroy */

Source from the content-addressed store, hash-verified

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

Callers 2

~TestRaycastMethod · 0.80
~HeightFieldMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by 1

~TestRaycastMethod · 0.64