Lagrange
Loading...
Searching...
No Matches
CameraTransforms Struct Reference

View and projection matrices defining a camera in world space. More...

#include <lagrange/CameraTransforms.h>

Public Attributes

Eigen::Affine3f view = Eigen::Affine3f::Identity()
 Camera view transform (world space -> view space).
 
Eigen::Projective3f projection = Eigen::Projective3f::Identity()
 Camera projection transform (view space -> NDC space).
 

Detailed Description

View and projection matrices defining a camera in world space.

Member Data Documentation

◆ projection

Eigen::Projective3f projection = Eigen::Projective3f::Identity()

Camera projection transform (view space -> NDC space).

This is the standard glTF/OpenGL projection matrix, where depth is remapped to [-1, 1] (near plane to -1, far plane to 1).


The documentation for this struct was generated from the following file: