Skip to content

Add Model View Projection

Rahul Sharma requested to merge add-model-view-projection into master

This adds a very basic camera class which at the moment just rotates around the pyramid, but in a future update will be expanded to better suit the game. The purpose of this camera is to set up the View and Projection matrices in a way that is easy to obtain and update as needed, hence made static. This matrices are then combined with the Pyramid's Model matrix in the shader to complete the Model View Projection. At the moment this is very basic but lays the foundation for how future aspects of the game will be structured.

pyramid_rotate

Edited by Rahul Sharma

Merge request reports