FastUIDraw
Public Member Functions | Public Attributes | List of all members
fastuidraw::projection_params< T > Class Template Reference

A projection_params holds the data to describe a projection matrix with perspective. More...

#include <matrix.hpp>

Public Member Functions

 projection_params (void)
 
 projection_params (T l, T r, T b, T t, T n)
 

Public Attributes

m_bottom
 Bottom edge of the clipping plane.
 
m_left
 Left edge of the clipping plane.
 
m_near
 Near clipping plane distance.
 
m_right
 Right edge of the clipping plane.
 
m_top
 Top edge of the clipping plane.
 

Detailed Description

template<typename T>
class fastuidraw::projection_params< T >

A projection_params holds the data to describe a projection matrix with perspective.

Definition at line 403 of file matrix.hpp.

Constructor & Destructor Documentation

◆ projection_params() [1/2]

template<typename T>
fastuidraw::projection_params< T >::projection_params ( void  )
inline

Default constructor for projection parameters, values are unitialized.

Definition at line 416 of file matrix.hpp.

◆ projection_params() [2/2]

template<typename T>
fastuidraw::projection_params< T >::projection_params ( l,
r,
b,
t,
n 
)
inline

Creates the projection parameters instance according to the given parameters.

Parameters
lLeft
rRight
tTop
bBottom
nNear clipping plane

Definition at line 427 of file matrix.hpp.


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