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

Method TransformComponents

src/components/TransformComponents.cpp:37–40  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

35
36// Constructor
37TransformComponents::TransformComponents(MemoryAllocator& allocator)
38 :Components(allocator, sizeof(Entity) + sizeof(Transform), 2 * GLOBAL_ALIGNMENT) {
39
40}
41
42// Allocate memory for a given number of components
43void TransformComponents::allocate(uint32 nbComponentsToAllocate) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected