#include <cl_vector2.h>
Inheritance diagram for SGE::CL_Vector2D< TType >:
Public Member Functions | |
CL_Vector2D () | |
Default Constructor, clear the Vector to 0. | |
CL_Vector2D (const CLT_Vector< TType > &_Vec) | |
Constructor. | |
CL_Vector2D (const CL_Vector2D< TType > &_Vec) | |
Copy Constructor. | |
CL_Vector2D (const TType *_Val) | |
Constructor, set the vector with _Val. | |
CL_Vector2D (const TType _Val) | |
Constructor, set the vector will _Val. | |
CL_Vector2D (const TType _x, const TType _y) | |
Constructor, set the vector will _x, _y. | |
~CL_Vector2D () | |
Default destructor, do nothing yet. | |
void | Set (const TType _x, const TType _y) |
Set the vector's value to _x, _y. | |
CL_Vector2D< TType > & | operator= (const CL_Vector2D< TType > &_Vec2) |
CL_Vector2D< TType > & | operator= (const TType *_Val) |
operator = with TType *_f. All the vector dimension will be set to _f[] value. | |
CL_Vector2D< TType > & | operator= (const TType _Val) |
operator = with TType _f. All the vector dimension will be set to _f value. | |
Public Attributes | |
TType & | x |
Y axe value. | |
TType & | y |
Z axe value. |
|
Default Constructor, clear the Vector to 0.
|
|
Constructor.
|
|
Copy Constructor.
|
|
Constructor, set the vector with _Val.
|
|
Constructor, set the vector will _Val.
|
|
Constructor, set the vector will _x, _y.
|
|
Default destructor, do nothing yet.
|
|
operator = with TType *_f. All the vector dimension will be set to _f[] value.
Reimplemented from SGE::CLT_Vector< TType >. |
|
Set the vector's value to _x, _y.
|