CG-Project2
|
Component to store data of a ogl::Camera. More...
#include <Component.hpp>
Public Member Functions | |
CameraComponent ()=default | |
Instances basic Component to query the ECS when needed. |
Public Attributes | |
Shared< ogl::Camera > | camera {} |
shared pointer to the ogl::Camera object |
Component to store data of a ogl::Camera.
It allows the ECS to interact with the camera in the scene. For example it can be showed in an ImGuiPanel and the user can modify the internal parameters from there.