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

Method destroyBoxShape

src/engine/PhysicsCommon.cpp:339–344  ·  view source on GitHub ↗

Destroy a box collision shape * @param boxShape A pointer to the box shape to destroy */

Source from the content-addressed store, hash-verified

337 * @param boxShape A pointer to the box shape to destroy
338 */
339void PhysicsCommon::destroyBoxShape(BoxShape* boxShape) {
340
341 deleteBoxShape(boxShape);
342
343 mBoxShapes.remove(boxShape);
344}
345
346// Delete a box collision shape
347/**

Callers 4

~TestPointInsideMethod · 0.80
~TestRaycastMethod · 0.80
~TestWorldQueriesMethod · 0.80
~BoxMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by 3

~TestPointInsideMethod · 0.64
~TestRaycastMethod · 0.64
~TestWorldQueriesMethod · 0.64