Camera Class - HPC-Vis/computer-graphics GitHub Wiki
Functions
Camera()
No functionality.
~Camera()
No functionality.
bool Initialize(int w, int h)
This is used to setup the view and projection for a static camera.
glm::mat4 GetProjection()
Gives the projection.
glm::mat4 GetView()
Gives the view.
Variables
glm::mat4 projection
The projection of the camera.
glm::mat4 view
The viewport of the camera.
Notes
Expand this class to work with the camera movements around the world.