Constructor
| 33 | |
| 34 | // Constructor |
| 35 | JointComponents::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 |
| 43 | void JointComponents::allocate(uint32 nbComponentsToAllocate) { |
nothing calls this directly
no outgoing calls
no test coverage detected