OpenBarnyard
 
Loading...
Searching...
No Matches
T2Viewport Class Reference

#include <T2Viewport_GL.h>

Public Member Functions

constexpr T2Viewport (TFLOAT a_fX, TFLOAT a_fY, TFLOAT a_fWidth, TFLOAT a_fHeight, TFLOAT a_fMinZ, TFLOAT a_fMaxZ)
 
 ~T2Viewport ()=default
 
TFLOAT GetX () const
 
TFLOAT GetY () const
 
TFLOAT GetWidth () const
 
TFLOAT GetHeight () const
 
TFLOAT GetMinZ () const
 
TFLOAT GetMaxZ () const
 
void SetX (TFLOAT a_fValue)
 
void SetY (TFLOAT a_fValue)
 
void SetWidth (TFLOAT a_fValue)
 
void SetHeight (TFLOAT a_fValue)
 
void SetMinZ (TFLOAT a_fValue)
 
void SetMaxZ (TFLOAT a_fValue)
 

Detailed Description

Definition at line 8 of file T2Viewport_GL.h.

Constructor & Destructor Documentation

◆ T2Viewport()

T2Viewport::T2Viewport ( TFLOAT a_fX,
TFLOAT a_fY,
TFLOAT a_fWidth,
TFLOAT a_fHeight,
TFLOAT a_fMinZ,
TFLOAT a_fMaxZ )
inlineconstexpr

Definition at line 11 of file T2Viewport_GL.h.

19 : m_fX( a_fX )
20 , m_fY( a_fY )
21 , m_fWidth( a_fWidth )
22 , m_fHeight( a_fHeight )
23 , m_fMinZ( a_fMinZ )
24 , m_fMaxZ( a_fMaxZ )
25 {}

◆ ~T2Viewport()

T2Viewport::~T2Viewport ( )
default

Member Function Documentation

◆ GetHeight()

TFLOAT T2Viewport::GetHeight ( ) const
inline

Definition at line 32 of file T2Viewport_GL.h.

32{ return m_fHeight; }

◆ GetMaxZ()

TFLOAT T2Viewport::GetMaxZ ( ) const
inline

Definition at line 34 of file T2Viewport_GL.h.

34{ return m_fMaxZ; }

◆ GetMinZ()

TFLOAT T2Viewport::GetMinZ ( ) const
inline

Definition at line 33 of file T2Viewport_GL.h.

33{ return m_fMinZ; }

◆ GetWidth()

TFLOAT T2Viewport::GetWidth ( ) const
inline

Definition at line 31 of file T2Viewport_GL.h.

31{ return m_fWidth; }

◆ GetX()

TFLOAT T2Viewport::GetX ( ) const
inline

Definition at line 29 of file T2Viewport_GL.h.

29{ return m_fX; }

◆ GetY()

TFLOAT T2Viewport::GetY ( ) const
inline

Definition at line 30 of file T2Viewport_GL.h.

30{ return m_fY; }

◆ SetHeight()

void T2Viewport::SetHeight ( TFLOAT a_fValue)
inline

Definition at line 39 of file T2Viewport_GL.h.

39{ m_fHeight = a_fValue; }

◆ SetMaxZ()

void T2Viewport::SetMaxZ ( TFLOAT a_fValue)
inline

Definition at line 41 of file T2Viewport_GL.h.

41{ m_fMaxZ = a_fValue; }

◆ SetMinZ()

void T2Viewport::SetMinZ ( TFLOAT a_fValue)
inline

Definition at line 40 of file T2Viewport_GL.h.

40{ m_fMinZ = a_fValue; }

◆ SetWidth()

void T2Viewport::SetWidth ( TFLOAT a_fValue)
inline

Definition at line 38 of file T2Viewport_GL.h.

38{ m_fWidth = a_fValue; }

◆ SetX()

void T2Viewport::SetX ( TFLOAT a_fValue)
inline

Definition at line 36 of file T2Viewport_GL.h.

36{ m_fX = a_fValue; }

◆ SetY()

void T2Viewport::SetY ( TFLOAT a_fValue)
inline

Definition at line 37 of file T2Viewport_GL.h.

37{ m_fY = a_fValue; }

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