#include <cl_vector3.h>
Inheritance diagram for SGE::CL_Vector3D< TType >:
Public Member Functions | |
_SG_TLS_INLINE | CL_Vector3D () |
Default Constructor, clear the Vector to 0. | |
_SG_TLS_INLINE | CL_Vector3D (const CLT_Vector< TType > &_Vec) |
Constructor. | |
_SG_TLS_INLINE | CL_Vector3D (const CL_Vector3D< TType > &_Vec) |
Copy Constructor. | |
_SG_TLS_INLINE | CL_Vector3D (const TType *_Val) |
Constructor, set the vector with _Val. | |
_SG_TLS_INLINE | CL_Vector3D (const TType _Val) |
Constructor, set the vector will _Val. | |
_SG_TLS_INLINE | CL_Vector3D (const TType _x, const TType _y, const TType _z) |
Constructor, set the vector values. | |
~CL_Vector3D () | |
Default destructor, do nothing yet. | |
_SG_TLS_INLINE void | Set (const TType _x, const TType _y, const TType _z) |
Set the vector's value to _x, _y, _z. | |
_SG_TLS_INLINE CL_Vector3D< TType > & | operator= (const CL_Vector3D< TType > &_Vec2) |
_SG_TLS_INLINE CL_Vector3D< TType > & | operator= (const TType *_Val) |
operator = with TType *_f. All the vector dimension will be set to _f[] value. | |
_SG_TLS_INLINE CL_Vector3D< TType > & | operator= (const TType _Val) |
operator = with TType _f. All the vector dimension will be set to _f value. | |
_SG_TLS_INLINE const TType | operator% (const CL_Vector3D< TType > &) const |
Calculate the dot product with another CL_Vector3D. | |
_SG_TLS_INLINE const CL_Vector3D< TType > | operator^ (const CL_Vector3D< TType > &) const |
Calculate the cross product with another CL_Vector3D. | |
_SG_TLS_INLINE const CL_Vector3D< TType > & | operator^= (const CL_Vector3D< TType > &) |
Calculate the cross product with another CL_Vector3D and store it into the current one. | |
_SG_TLS_INLINE const TType | operator! () const |
Calculate the distance to 0,0,0. | |
_SG_TLS_INLINE const CL_Vector3D< TType > | operator| (const TType &) const |
_SG_TLS_INLINE CL_Vector3D< TType > & | operator|= (const TType &) |
_SG_TLS_INLINE const TType | Angle (const CL_Vector3D< TType > &) const |
_SG_TLS_INLINE const CL_Vector3D< TType > | Reflection (const CL_Vector3D< TType > &) const |
_SG_TLS_INLINE const CL_Vector3D< TType > | Rotate (const TType &, const CL_Vector3D< TType > &) const |
Public Attributes | |
TType & | x |
< X axe value. Y axe value. | |
TType & | y |
Z axe value. | |
TType & | z |
Z axe value. |
Finish documentation.
|
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 values.
|
|
Default destructor, do nothing yet.
|
|
Calculate the distance to 0,0,0.
|
|
Calculate the dot product with another CL_Vector3D.
|
|
operator = with TType *_f. All the vector dimension will be set to _f[] value.
Reimplemented from SGE::CLT_Vector< TType >. |
|
Calculate the cross product with another CL_Vector3D.
|
|
Calculate the cross product with another CL_Vector3D and store it into the current one.
|
|
Set the vector's value to _x, _y, _z.
|