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

Method JointComponents

src/components/JointComponents.cpp:35–40  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

33
34// Constructor
35JointComponents::JointComponents(MemoryAllocator& allocator)
36 :Components(allocator, sizeof(Entity) + sizeof(Entity) + sizeof(Entity) + sizeof(Joint*) +
37 sizeof(JointType) + sizeof(JointsPositionCorrectionTechnique) + sizeof(bool) +
38 sizeof(bool), 8 * GLOBAL_ALIGNMENT) {
39
40}
41
42// Allocate memory for a given number of components
43void JointComponents::allocate(uint32 nbComponentsToAllocate) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected