#include <cl_pos.h>
Inheritance diagram for SGE::CLT_POS< VectorType >:
Public Member Functions | |
_SG_TLS_INLINE | CLT_POS () |
Default constructor. | |
_SG_TLS_INLINE | CLT_POS (CLT_POS &_Pos) |
Copy constructor. | |
_SG_TLS_INLINE | ~CLT_POS () |
Destructor. | |
_SG_TLS_INLINE void | Clear () |
Set rotation/position to 0 and scale to 1. | |
_SG_TLS_INLINE void | DoTranslate () |
Apply an opengl translation of vector Pos. | |
_SG_TLS_INLINE void | DoRotate () |
Apply an opengl rotation of vector Rot. | |
_SG_TLS_INLINE void | DoScale () |
Apply an opengl scale of vector Scale. | |
_SG_TLS_INLINE void | SetScale (VectorType _v) |
Set the value of the Scale vector. | |
_SG_TLS_INLINE void | SetRot (VectorType _v) |
Set the value of the Rot vector. | |
_SG_TLS_INLINE void | SetPos (VectorType _v) |
Set the value of the Pos vector. | |
_SG_TLS_INLINE CLT_POS & | operator= (const CLT_POS &_Pos) |
Affectation operator. | |
_SG_TLS_INLINE bool | operator== (const CLT_POS &_Pos) |
Comparaison operator. | |
Public Attributes | |
VectorType | Pos |
Position. | |
VectorType | Rot |
Rotation. | |
VectorType | Scale |
Scale of the object. |
|
Affectation operator.
|
|
Comparaison operator.
|
|
Set the value of the Pos vector.
|
|
Set the value of the Rot vector.
|
|
Set the value of the Scale vector.
|