Constructor
| 34 | |
| 35 | // Constructor |
| 36 | FixedJointComponents::FixedJointComponents(MemoryAllocator& allocator) |
| 37 | :Components(allocator, sizeof(Entity) + sizeof(FixedJoint*) + sizeof(Vector3) + |
| 38 | sizeof(Vector3) + sizeof(Vector3) + sizeof(Vector3) + |
| 39 | sizeof(Matrix3x3) + sizeof(Matrix3x3) + sizeof(Vector3) + |
| 40 | sizeof(Vector3) + sizeof(Matrix3x3) + sizeof(Matrix3x3) + |
| 41 | sizeof(Vector3) + sizeof(Vector3) + sizeof(Quaternion), 15 * GLOBAL_ALIGNMENT) { |
| 42 | |
| 43 | } |
| 44 | |
| 45 | // Allocate memory for a given number of components |
| 46 | void FixedJointComponents::allocate(uint32 nbComponentsToAllocate) { |
nothing calls this directly
no outgoing calls
no test coverage detected