#include <tvector.h>
Inheritance diagram for salt::TVector2< DATATYPE, TYPE >:


Public Member Functions | |
| TVector2 () | |
| constructs an undefined TVector2 | |
| TVector2 (DATATYPE x, DATATYPE y) | |
| constructs a TVector2 from x and y | |
| f_inline DATATYPE & | x () |
| returns a reference to the first component | |
| f_inline const DATATYPE & | x () const |
| returns a constant reference to the first component | |
| f_inline DATATYPE & | y () |
| returns a reference to the second component | |
| f_inline const DATATYPE & | y () const |
| returns a constant reference to the second component | |
| f_inline const TYPE & | Set (const DATATYPE &x, const DATATYPE &y) |
| sets up the vector from x and y | |
Definition at line 199 of file tvector.h.
|
|||||||||
|
constructs an undefined TVector2
|
|
||||||||||||||||
|
constructs a TVector2 from x and y
|
|
||||||||||||||||
|
sets up the vector from x and y
Definition at line 228 of file tvector.h. Referenced by kerosin::Font::Init(), salt::AABB2::Init(), and salt::TVector2< float, Vector2f >::TVector2(). |
|
|||||||||
|
returns a constant reference to the first component
|
|
|||||||||
|
returns a reference to the first component
Definition at line 212 of file tvector.h. Referenced by salt::AABB2::Contains(), kerosin::Font::DrawString(), salt::AABB2::Encapsulate(), salt::AABB2::GetMiddle(), salt::AABB2::GetWidth(), salt::AABB2::Intersects(), salt::Matrix::operator *(), and salt::AABB2::Widen(). |
|
|||||||||
|
returns a constant reference to the second component
|
|
|||||||||
|
returns a reference to the second component
Definition at line 220 of file tvector.h. Referenced by salt::AABB2::Contains(), kerosin::Font::DrawString(), salt::AABB2::Encapsulate(), salt::AABB2::GetHeight(), salt::AABB2::GetMiddle(), salt::AABB2::Intersects(), salt::Matrix::operator *(), and salt::AABB2::Widen(). |
1.4.4