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

Method destroyComponent

src/components/Components.cpp:102–105  ·  view source on GitHub ↗

Destroy a component at a given index

Source from the content-addressed store, hash-verified

100
101// Destroy a component at a given index
102void Components::destroyComponent(uint32 index) {
103
104 assert(index < mNbComponents);
105}
106
107// Remove a component at a given index
108void Components::removeComponent(Entity entity) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected