#include <ExCVec3D.h>
Public Methods | |
ExCVec3D () | |
ExCVec3D (float x, float y, float z) | |
ExCVec3D (float x, float y) | |
ExCVec3D (float x) | |
ExCVec3D (const ExCVec3D &vec) | |
~ExCVec3D () | |
float | GetVectorLenght (void) |
ExCVec3D | GetVecNormale (void) |
void | SetValue (float x, float y, float z) |
void | SetX (float val) |
void | SetY (float val) |
void | SetZ (float val) |
float | GetX (void) |
float | GetY (void) |
float | GetZ (void) |
ExCVec3D & | operator= (const ExCVec3D &Vec) |
bool | operator== (const ExCVec3D &Vec) |
ExCVec3D | operator+ (const ExCVec3D &Vec) |
ExCVec3D | operator++ () |
ExCVec3D | operator++ (int) |
ExCVec3D | operator- (const ExCVec3D &Vec) |
ExCVec3D | operator-- () |
ExCVec3D | operator-- (int) |
ExCVec3D | operator * (const ExCVec3D &Vec) |
ExCVec3D | operator * (float scalar) |
ExCVec3D | operator/ (const ExCVec3D &Vec) |
ExCVec3D | operator/ (float scalar) |
Data Fields | |
float | m_Vector [3] |
Friends | |
std::ostream & | operator<< (std::ostream &s, const ExCVec3D &vec) |
std::ostrstream & | operator<< (std::ostrstream &s, const ExCVec3D &vec) |
|
Definition at line 28 of file ExCVec3D.cpp. References SetValue(). Referenced by operator *(), operator+(), operator-(), and operator/().
00029 { 00030 SetValue(0,0,0); 00031 } |
|
Definition at line 33 of file ExCVec3D.cpp. References SetValue().
00034 { 00035 SetValue(x,y,z); 00036 } |
|
Definition at line 38 of file ExCVec3D.cpp. References SetValue().
00039 { 00040 SetValue(x,y,0); 00041 } |
|
Definition at line 43 of file ExCVec3D.cpp. References SetValue().
00044 { 00045 SetValue(x,0,0); 00046 } |
|
Definition at line 48 of file ExCVec3D.cpp. References m_Vector, and SetValue().
|
|
Definition at line 53 of file ExCVec3D.cpp.
00054 { 00055 00056 } |
|
Definition at line 64 of file ExCVec3D.cpp. References GetVectorLenght().
00065 { 00066 ExCVec3D VecNorm; 00067 VecNorm=*this; 00068 VecNorm=*this/this->GetVectorLenght(); 00069 return VecNorm; 00070 } |
|
Definition at line 60 of file ExCVec3D.cpp. References m_Vector. Referenced by GetAxisFromQuaternion(), GetVecNormale(), and GetVecNormale().
|
|
|
|
Definition at line 59 of file ExCVec3D.h. References m_Vector. Referenced by ExCModel3DS::BuildList(), ExCModelMD2::Draw(), ExCModel::Draw(), ExCEntite::Draw(), ExCComposed::Draw(), ExCCameraTarget::Draw(), ExCCameraChase::Draw(), ExCCamera::Draw(), ExCLight::IncPositionX(), ExCLight::IncTargetX(), ExCLight::SetPosition(), ExCLight::SetPositionX(), ExCLight::SetPositionY(), ExCLight::SetPositionZ(), ExCLight::SetTarget(), ExCLight::SetTargetX(), ExCLight::SetTargetY(), ExCLight::SetTargetZ(), and ExCObject3D::ShowInfo().
00059 {return m_Vector[2];} |
|
Definition at line 105 of file ExCVec3D.cpp. References ExCVec3D(), and m_Vector.
|
|
Definition at line 100 of file ExCVec3D.cpp. References ExCVec3D(), and m_Vector.
|
|
Definition at line 90 of file ExCVec3D.cpp. References ExCVec3D(), and m_Vector.
|
|
Definition at line 125 of file ExCVec3D.cpp. References m_Vector.
|
|
Definition at line 120 of file ExCVec3D.cpp. References m_Vector.
|
|
Definition at line 95 of file ExCVec3D.cpp. References ExCVec3D(), and m_Vector.
|
|
Definition at line 135 of file ExCVec3D.cpp. References m_Vector.
|
|
Definition at line 130 of file ExCVec3D.cpp. References m_Vector.
|
|
Definition at line 115 of file ExCVec3D.cpp. References ExCVec3D(), and m_Vector.
|
|
Definition at line 110 of file ExCVec3D.cpp. References ExCVec3D(), and m_Vector.
|
|
Definition at line 79 of file ExCVec3D.cpp. References m_Vector, and SetValue().
|
|
Definition at line 84 of file ExCVec3D.cpp. References m_Vector.
|
|
|
|
|
|
Definition at line 150 of file ExCVec3D.cpp.
|
|
Definition at line 145 of file ExCVec3D.cpp.
|
|