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

Method init

src/components/Components.cpp:61–65  ·  view source on GitHub ↗

Initialize the components:

Source from the content-addressed store, hash-verified

59
60// Initialize the components:
61void Components::init() {
62
63 // Allocate memory for the components data
64 allocate(INIT_NB_ALLOCATED_COMPONENTS);
65}
66
67// Compute the index where we need to insert the new component
68uint32 Components::prepareAddComponent(bool isDisabled) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected