Skip to content

Camera Class

Nolan Burfield edited this page Jun 15, 2016 · 2 revisions

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.

Clone this wiki locally