Brunot
Loading...
Searching...
No Matches
cam Namespace Reference

Functions

auto init (GLFWwindow *window, int width, int height) -> void
auto view () -> const Eigen::Matrix4f &
 gets the view transform for the camera
auto projection () -> const Eigen::Matrix4f &
 Gets the orthogonal projection matrix for the camera.
auto screen () -> const Eigen::Matrix4f &

Function Documentation

◆ init()

auto cam::init ( GLFWwindow * window,
int width,
int height )->void
Here is the call graph for this function:
Here is the caller graph for this function:

◆ projection()

auto cam::projection ( ) ->constEigen::Matrix4f &

Gets the orthogonal projection matrix for the camera.

Returns
an Eigen Mat4 const ref
Here is the caller graph for this function:

◆ screen()

auto cam::screen ( ) ->constEigen::Matrix4f &
Here is the caller graph for this function:

◆ view()

auto cam::view ( ) ->constEigen::Matrix4f &

gets the view transform for the camera

Returns
an Eigen Mat4 const ref
Here is the caller graph for this function: