| 127 | } |
| 128 | |
| 129 | static void CameraStackPush(CameraWorld* world, CameraComponent* camera) |
| 130 | { |
| 131 | // Remove from stack in case the camera is already in the stack |
| 132 | CameraStackRemove(world, camera); |
| 133 | |
| 134 | if (world->m_CameraStack.Full()) |
| 135 | { |
| 136 | world->m_CameraStack.OffsetCapacity(1); |
| 137 | } |
| 138 | world->m_CameraStack.Push(camera); |
| 139 | } |
| 140 | |
| 141 | dmGameObject::CreateResult CompCameraCreate(const dmGameObject::ComponentCreateParams& params) |
| 142 | { |
no test coverage detected