#include <AGUI2Transform.h>
Definition at line 4 of file AGUI2Transform.h.
◆ TUninitialised
◆ AGUI2Transform() [1/2]
AGUI2Transform::AGUI2Transform |
( |
| ) |
|
|
inlineconstexpr |
◆ AGUI2Transform() [2/2]
◆ ~AGUI2Transform()
AGUI2Transform::~AGUI2Transform |
( |
| ) |
|
|
default |
◆ GetInverse()
Definition at line 52 of file AGUI2Transform.cpp.
53{
55
56
57
58
63
64
69}
Toshi::TVector2 m_vecTranslation
Toshi::TVector2 m_aMatrixRows[2]
◆ GetTranslation()
const Toshi::TVector2 & AGUI2Transform::GetTranslation |
( |
| ) |
const |
|
inlineconstexpr |
◆ Multiply()
◆ PreMultiply()
void AGUI2Transform::PreMultiply |
( |
const AGUI2Transform & | a_rTransform | ) |
|
◆ Rotate()
void AGUI2Transform::Rotate |
( |
TFLOAT | a_fAngle | ) |
|
Definition at line 12 of file AGUI2Transform.cpp.
13{
16
19
24}
TFORCEINLINE void SinCos(TFLOAT fVal, TFLOAT &a_rSin, TFLOAT &a_rCos)
◆ Scale()
void AGUI2Transform::Scale |
( |
TFLOAT | a_fScaleX, |
|
|
TFLOAT | a_fScaleY ) |
Definition at line 37 of file AGUI2Transform.cpp.
38{
44}
void PreMultiply(const AGUI2Transform &a_rTransform)
constexpr AGUI2Transform()
◆ Set()
void AGUI2Transform::Set |
( |
const Toshi::TVector2 & | a_rcMatComp1, |
|
|
const Toshi::TVector2 & | a_rcMatComp2, |
|
|
const Toshi::TVector2 & | a_rcTranslation ) |
|
inlineconstexpr |
◆ SetFromScale()
void AGUI2Transform::SetFromScale |
( |
TFLOAT | a_fScaleX, |
|
|
TFLOAT | a_fScaleY ) |
Definition at line 79 of file AGUI2Transform.cpp.
80{
82 Scale( a_fScaleX, a_fScaleY );
83}
void Scale(TFLOAT a_fScaleX, TFLOAT a_fScaleY)
◆ SetIdentity()
void AGUI2Transform::SetIdentity |
( |
| ) |
|
|
inlineconstexpr |
◆ SetScale()
void AGUI2Transform::SetScale |
( |
TFLOAT | a_fScaleX, |
|
|
TFLOAT | a_fScaleY ) |
◆ SetTranslation() [1/2]
void AGUI2Transform::SetTranslation |
( |
const Toshi::TVector2 & | a_rcTranslation | ) |
|
|
inlineconstexpr |
◆ SetTranslation() [2/2]
void AGUI2Transform::SetTranslation |
( |
TFLOAT | a_fX, |
|
|
TFLOAT | a_fY ) |
|
inlineconstexpr |
◆ SetZero()
void AGUI2Transform::SetZero |
( |
| ) |
|
|
inlineconstexpr |
◆ Transform()
void AGUI2Transform::Transform |
( |
Toshi::TVector2 & | a_rOutVec, |
|
|
const Toshi::TVector2 & | a_rTransformVec ) const |
◆ m_aMatrixRows
Toshi::TVector2 AGUI2Transform::m_aMatrixRows[2] |
◆ m_vecTranslation
Toshi::TVector2 AGUI2Transform::m_vecTranslation |
The documentation for this class was generated from the following files: