#include <ExCVec3D.h>
Membres publics | |
| 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) |
| void | IncX (void) |
| void | IncX (float ValueToAdd) |
| void | IncY (void) |
| void | IncY (float ValueToAdd) |
| void | IncZ (void) |
| void | IncZ (float ValueToAdd) |
| void | DecX (void) |
| void | DecX (float ValueToAdd) |
| void | DecY (void) |
| void | DecY (float ValueToAdd) |
| void | DecZ (void) |
| void | DecZ (float ValueToAdd) |
| ExCVec3D & | operator= (const ExCVec3D &Vec) |
| bool | operator== (const ExCVec3D &Vec) |
| ExCVec3D | operator+ (const ExCVec3D &Vec) |
| ExCVec3D | operator+ (float scalar) |
| ExCVec3D | operator++ () |
| ExCVec3D | operator++ (int) |
| ExCVec3D | operator- (const ExCVec3D &Vec) |
| ExCVec3D | operator- (float scalar) |
| ExCVec3D | operator-- () |
| ExCVec3D | operator-- (int) |
| ExCVec3D | operator * (const ExCVec3D &Vec) |
| ExCVec3D | operator * (float scalar) |
| ExCVec3D | operator/ (const ExCVec3D &Vec) |
| ExCVec3D | operator/ (float scalar) |
Attributs Publics | |
| float | m_Vector [3] |
Amis (friends) | |
| std::ostream & | operator<< (std::ostream &s, const ExCVec3D &vec) |
| std::ostrstream & | operator<< (std::ostrstream &s, const ExCVec3D &vec) |
|
|
Définition à la ligne 28 du fichier ExCVec3D.cpp. Références SetValue(). Référencé par operator *(), operator+(), operator-(), et operator/().
00029 {
00030 SetValue(0,0,0);
00031 }
|
|
||||||||||||||||
|
Définition à la ligne 33 du fichier ExCVec3D.cpp. Références SetValue().
00034 {
00035 SetValue(x,y,z);
00036 }
|
|
||||||||||||
|
Définition à la ligne 38 du fichier ExCVec3D.cpp. Références SetValue().
00039 {
00040 SetValue(x,y,0);
00041 }
|
|
|
Définition à la ligne 43 du fichier ExCVec3D.cpp. Références SetValue().
00044 {
00045 SetValue(x,0,0);
00046 }
|
|
|
Définition à la ligne 48 du fichier ExCVec3D.cpp. Références m_Vector, et SetValue().
|
|
|
Définition à la ligne 53 du fichier ExCVec3D.cpp.
00054 {
00055
00056 }
|
|
|
Définition à la ligne 69 du fichier ExCVec3D.h. Références m_Vector.
00069 {m_Vector[0]-=ValueToAdd;}
|
|
|
Définition à la ligne 68 du fichier ExCVec3D.h. Références m_Vector. Référencé par ExCAnimation::Draw(), ExManagerCamera::InputAction(), ExCModelMD2::Process(), ExCModel3DS::Process(), ExCCameraFlight::Process(), et ExCCamera::Process().
00068 {m_Vector[0]--;}
|
|
|
Définition à la ligne 71 du fichier ExCVec3D.h. Références m_Vector.
00071 {m_Vector[1]-=ValueToAdd;}
|
|
|
Définition à la ligne 70 du fichier ExCVec3D.h. Références m_Vector. Référencé par ExCAnimation::Draw(), ExManagerCamera::InputAction(), ExCModelMD2::Process(), ExCModel3DS::Process(), ExCCameraFlight::Process(), et ExCCamera::Process().
00070 {m_Vector[1]--;}
|
|
|
Définition à la ligne 73 du fichier ExCVec3D.h. Références m_Vector.
00073 {m_Vector[2]-=ValueToAdd;}
|
|
|
Définition à la ligne 72 du fichier ExCVec3D.h. Références m_Vector. Référencé par ExCAnimation::Draw(), ExManagerCamera::InputAction(), ExCModelMD2::Process(), ExCModel3DS::Process(), ExCCameraFlight::Process(), et ExCCamera::Process().
00072 {m_Vector[2]--;}
|
|
|
Définition à la ligne 64 du fichier ExCVec3D.cpp. Références GetVectorLenght(). Référencé par PerpendicularVector().
00065 {
00066 ExCVec3D VecNorm;
00067 VecNorm=*this;
00068 VecNorm=*this/this->GetVectorLenght();
00069 return VecNorm;
00070 }
|
|
|
Définition à la ligne 60 du fichier ExCVec3D.cpp. Références m_Vector. Référencé par GetAxisFromQuaternion(), GetVecNormale(), et GetVecNormale().
00061 {
00062 return sqrt((m_Vector[0]*m_Vector[0])+(m_Vector[1]*m_Vector[1])+(m_Vector[2]*m_Vector[2]));
00063 }
|
|
|
|
|
|
Définition à la ligne 62 du fichier ExCVec3D.h. Références m_Vector.
00062 {m_Vector[0]+=ValueToAdd;}
|
|
|
Définition à la ligne 61 du fichier ExCVec3D.h. Références m_Vector. Référencé par ExManagerCamera::InputAction(), ExCModelMD2::Process(), ExCModel3DS::Process(), ExCCameraFlight::Process(), et ExCCamera::Process().
00061 {m_Vector[0]++;}
|
|
|
Définition à la ligne 64 du fichier ExCVec3D.h. Références m_Vector.
00064 {m_Vector[1]+=ValueToAdd;}
|
|
|
Définition à la ligne 63 du fichier ExCVec3D.h. Références m_Vector. Référencé par ExCCameraChase::Draw(), ExManagerCamera::InputAction(), ExCModelMD2::Process(), ExCModel3DS::Process(), ExCCameraFlight::Process(), et ExCCamera::Process().
00063 {m_Vector[1]++;}
|
|
|
Définition à la ligne 66 du fichier ExCVec3D.h. Références m_Vector.
00066 {m_Vector[2]+=ValueToAdd;}
|
|
|
Définition à la ligne 65 du fichier ExCVec3D.h. Références m_Vector. Référencé par ExManagerCamera::InputAction(), ExCModelMD2::Process(), ExCModel3DS::Process(), ExCCameraFlight::Process(), et ExCCamera::Process().
00065 {m_Vector[2]++;}
|
|
|
Définition à la ligne 115 du fichier ExCVec3D.cpp. Références ExCVec3D(), et m_Vector.
00116 {
00117 return ExCVec3D(m_Vector[0]*scalar,m_Vector[1]*scalar,m_Vector[2]*scalar);
00118 }
|
|
|
Définition à la ligne 110 du fichier ExCVec3D.cpp. Références ExCVec3D(), et m_Vector.
|
|
|
Définition à la ligne 95 du fichier ExCVec3D.cpp. Références ExCVec3D(), et m_Vector.
00096 {
00097 return ExCVec3D(m_Vector[0]+scalar,m_Vector[1]+scalar,m_Vector[2]+scalar);
00098 }
|
|
|
Définition à la ligne 90 du fichier ExCVec3D.cpp. Références ExCVec3D(), et m_Vector.
|
|
|
Définition à la ligne 135 du fichier ExCVec3D.cpp. Références m_Vector.
|
|
|
Définition à la ligne 130 du fichier ExCVec3D.cpp. Références m_Vector.
|
|
|
Définition à la ligne 105 du fichier ExCVec3D.cpp. Références ExCVec3D(), et m_Vector.
00106 {
00107 return ExCVec3D(m_Vector[0]-scalar,m_Vector[1]-scalar,m_Vector[2]-scalar);
00108 }
|
|
|
Définition à la ligne 100 du fichier ExCVec3D.cpp. Références ExCVec3D(), et m_Vector.
|
|
|
Définition à la ligne 145 du fichier ExCVec3D.cpp. Références m_Vector.
|
|
|
Définition à la ligne 140 du fichier ExCVec3D.cpp. Références m_Vector.
|
|
|
Définition à la ligne 125 du fichier ExCVec3D.cpp. Références ExCVec3D(), et m_Vector.
00126 {
00127 return ExCVec3D(m_Vector[0]/scalar,m_Vector[1]/scalar,m_Vector[2]/scalar);
00128 }
|
|
|
Définition à la ligne 120 du fichier ExCVec3D.cpp. Références ExCVec3D(), et m_Vector.
|
|
|
Définition à la ligne 79 du fichier ExCVec3D.cpp. Références m_Vector, et SetValue().
|
|
|
Définition à la ligne 84 du fichier ExCVec3D.cpp. Références m_Vector.
|
|
||||||||||||||||
|
|
|
|
||||||||||||
|
Définition à la ligne 160 du fichier ExCVec3D.cpp.
|
|
||||||||||||
|
Définition à la ligne 155 du fichier ExCVec3D.cpp.
|
|
1.3.4