Lagrange
Camera::ViewportTransform Struct Reference

Transform in the normalized coordinate space. More...

#include <lagrange/ui/types/Camera.h>

Public Attributes

Eigen::Vector2f scale = Eigen::Vector2f::Ones()
 
Eigen::Vector2f translate = Eigen::Vector2f::Zero()
 
bool clip = false
 Clip viewport. More...
 

Detailed Description

Transform in the normalized coordinate space.

Member Data Documentation

◆ clip

bool clip = false

Clip viewport.

If true, OpenGL viewport (device coords) will be altered If false, vertex transform (clip space coords) will be altered


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