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

Method Components

src/components/Components.cpp:34–39  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

32
33// Constructor
34Components::Components(MemoryAllocator& allocator, size_t componentDataSize, size_t alignmentMarginSize)
35 : mMemoryAllocator(allocator), mNbComponents(0), mComponentDataSize(componentDataSize),
36 mAlignmentMarginSize(alignmentMarginSize), mNbAllocatedComponents(0), mBuffer(nullptr), mMapEntityToComponentIndex(allocator),
37 mDisabledStartIndex(0) {
38
39}
40
41Components::~Components() {
42

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected