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