|
CG-Project2
|
All utilities to manage the world camera. More...
Functions | |
| Shared< ogl::Camera > | getCamera (const unsigned int &id) |
| Retrieves a pointer to the camera given. | |
| void | updateCameraCollider (const unsigned int &id, const glm::vec3 &position, const glm::vec3 &size) |
| Updates the collider of the camera given. | |
All utilities to manage the world camera.
| Shared< ogl::Camera > systems::camera::getCamera | ( | const unsigned int & | id | ) |
Retrieves a pointer to the camera given.
| id | the camera id |
| void systems::camera::updateCameraCollider | ( | const unsigned int & | id, |
| const glm::vec3 & | position, | ||
| const glm::vec3 & | size ) |
Updates the collider of the camera given.
| id | the camera id |
| position | the camera position |
| size | the camera collider size |