Rasterfarm-SDK
Loading...
Searching...
No Matches
Ortho::Attribute Class Reference

#include <ortho.h>

Public Member Functions

 Attribute (float aspectRatio=Application::getAspectRatio(), float scale=1.0f)
 

Public Attributes

float aspectRatio
 
float scale
 

Constructor & Destructor Documentation

◆ Attribute()

Ortho::Attribute::Attribute ( float aspectRatio = Application::getAspectRatio(),
float scale = 1.0f )

Member Data Documentation

◆ aspectRatio

float Ortho::Attribute::aspectRatio

Aspect ratio of the fustrum, used to create the projection matrix.

◆ scale

float Ortho::Attribute::scale

Scale used to create the projection matrix.


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