#include <ExCVec2D.h>
Public Methods | |
ExCVec2D () | |
ExCVec2D (float x, float y) | |
~ExCVec2D () | |
float | GetVectorLenght (void) |
ExCVec2D | GetVecNormale (void) |
void | SetValue (float x, float y) |
void | SetX (double val) |
void | SetY (double val) |
double | GetX (void) |
double | GetY (void) |
ExCVec2D & | operator= (const ExCVec2D &Vec) |
bool | operator== (const ExCVec2D &Vec) |
ExCVec2D | operator+ (const ExCVec2D &Vec) |
ExCVec2D | operator- (const ExCVec2D &Vec) |
ExCVec2D | operator * (const ExCVec2D &Vec) |
ExCVec2D | operator * (float scalar) |
ExCVec2D | operator/ (const ExCVec2D &Vec) |
ExCVec2D | operator/ (float scalar) |
Data Fields | |
float | m_Vector [2] |
Friends | |
std::ostream & | operator<< (std::ostream &s, const ExCVec2D &vec) |
|
Definition at line 28 of file ExCVec2D.cpp. References m_Vector.
|
|
Definition at line 33 of file ExCVec2D.cpp. References m_Vector.
|
|
Definition at line 38 of file ExCVec2D.cpp.
00039 { 00040 00041 } |
|
Definition at line 49 of file ExCVec2D.cpp. References GetVectorLenght().
00050 { 00051 ExCVec2D VecNorm; 00052 VecNorm=*this; 00053 VecNorm=*this/this->GetVectorLenght(); 00054 return VecNorm; 00055 } |
|
Definition at line 45 of file ExCVec2D.cpp. References m_Vector. Referenced by GetVecNormale().
|
|
Definition at line 53 of file ExCVec2D.h. References m_Vector. Referenced by ExCModel3DS::BuildList(), and ExCModelMD2::Draw().
00053 {return m_Vector[0];} |
|
Definition at line 54 of file ExCVec2D.h. References m_Vector. Referenced by ExCModel3DS::BuildList(), and ExCModelMD2::Draw().
00054 {return m_Vector[1];} |
|
Definition at line 99 of file ExCVec2D.cpp. References m_Vector.
|
|
Definition at line 92 of file ExCVec2D.cpp. References m_Vector.
|
|
Definition at line 77 of file ExCVec2D.cpp. References m_Vector.
|
|
Definition at line 85 of file ExCVec2D.cpp. References m_Vector.
|
|
Definition at line 113 of file ExCVec2D.cpp. References m_Vector.
|
|
Definition at line 106 of file ExCVec2D.cpp. References m_Vector.
|
|
Definition at line 65 of file ExCVec2D.cpp. References m_Vector.
|
|
Definition at line 71 of file ExCVec2D.cpp. References m_Vector.
|
|
Definition at line 56 of file ExCVec2D.cpp. References m_Vector.
|
|
Definition at line 51 of file ExCVec2D.h. Referenced by ExCModel3DS::BuildList(), ExCModelMD2::Draw(), ExCModelMD2::Load(), ExCModelASC::LoadFile(), and ExCModel3DS::ReadUVCoordinates().
|
|
Definition at line 52 of file ExCVec2D.h. Referenced by ExCModel3DS::BuildList(), ExCModelMD2::Draw(), ExCModelMD2::Load(), ExCModelASC::LoadFile(), and ExCModel3DS::ReadUVCoordinates().
|
|
Definition at line 122 of file ExCVec2D.cpp.
|
|
Definition at line 38 of file ExCVec2D.h. Referenced by ExCVec2D(), GetVectorLenght(), GetX(), GetY(), operator *(), operator+(), operator-(), operator/(), operator<<(), operator=(), operator==(), SetValue(), SetX(), and SetY(). |