#include <Vector.h>
Public Member Functions | |
Vec3 () | |
Vec3 (const float xyz) | |
Vec3 (const float xx, const float yy, const float zz) | |
virtual | ~Vec3 () |
float | length () |
Vec3 | normalize () |
Vec3 | operator+ (const Vec3 &v) |
Vec3 | operator- (const Vec3 &v) |
Vec3 | operator- () |
Vec3 | operator * (const float s) |
Vec3 | operator * (const Vec3 &v) |
Vec3 | operator^ (const Vec3 &v) |
Vec3 | operator/ (const float s) |
Vec3 | operator/ (const Vec3 &v) |
void | operator= (const Vec3 &v) |
void | operator+= (const Vec3 &v) |
void | operator-= (const Vec3 &v) |
void | operator *= (const float s) |
void | operator *= (const Vec3 &v) |
void | operator/= (const float s) |
void | operator/= (const Vec3 &v) |
bool | operator> (Vec3 &v) |
bool | operator== (const Vec3 &v) |
bool | operator!= (const Vec3 &v) |
float & | operator[] (const int index) |
operator const float * () const | |
Vec3 () | |
Vec3 (const float xyz) | |
Vec3 (const float xx, const float yy, const float zz) | |
virtual | ~Vec3 () |
float | length () |
Vec3 | normalize () |
Vec3 | operator+ (const Vec3 &v) |
Vec3 | operator- (const Vec3 &v) |
Vec3 | operator- () |
Vec3 | operator * (const float s) |
Vec3 | operator * (const Vec3 &v) |
Vec3 | operator^ (const Vec3 &v) |
Vec3 | operator/ (const float s) |
Vec3 | operator/ (const Vec3 &v) |
void | operator= (const Vec3 &v) |
void | operator+= (const Vec3 &v) |
void | operator-= (const Vec3 &v) |
void | operator *= (const float s) |
void | operator *= (const Vec3 &v) |
void | operator/= (const float s) |
void | operator/= (const Vec3 &v) |
bool | operator> (Vec3 &v) |
bool | operator== (const Vec3 &v) |
bool | operator!= (const Vec3 &v) |
float & | operator[] (const int index) |
operator const float * () const | |
Public Attributes | |
float | x |
float | y |
float | z |
Definition at line 52 of file DeFacto/Math/Vector.h.
|
Vec3.cpp Author: Petter Alstermark, petter@alstermark.com Definition at line 16 of file DeFacto/Math/Vec3.cpp. Referenced by operator *(), operator+(), operator-(), and operator/(). |
|
Definition at line 23 of file DeFacto/Math/Vec3.cpp. |
|
Definition at line 30 of file DeFacto/Math/Vec3.cpp. |
|
Definition at line 39 of file DeFacto/Math/Vec3.cpp. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 46 of file DeFacto/Math/Vec3.cpp. Referenced by normalize(), operator>(), Menu::setCamera(), and Join::setCamera(). |
|
|
|
Definition at line 53 of file DeFacto/Math/Vec3.cpp. References length(). Referenced by Play::bot(), Menu::drawFrame(), Explosion::newVelocity(), Menu::setCamera(), Join::setCamera(), Play::update(), and Particle::update(). Here is the call graph for this function: |
|
|
|
|
|
Definition at line 91 of file DeFacto/Math/Vec3.cpp. References Vec3(), x, y, and z. Here is the call graph for this function: |
|
Definition at line 84 of file DeFacto/Math/Vec3.cpp. References Vec3(), x, y, and z. Here is the call graph for this function: |
|
|
|
|
|
Definition at line 159 of file DeFacto/Math/Vec3.cpp. |
|
Definition at line 150 of file DeFacto/Math/Vec3.cpp. |
|
Definition at line 80 of file LevelCreator/Math/Vector.h. References x. |
|
Definition at line 80 of file DeFacto/Math/Vector.h. References x. |
|
|
|
Definition at line 200 of file DeFacto/Math/Vec3.cpp. |
|
|
|
Definition at line 63 of file DeFacto/Math/Vec3.cpp. References Vec3(), x, y, and z. Here is the call graph for this function: |
|
|
|
Definition at line 132 of file DeFacto/Math/Vec3.cpp. |
|
|
|
|
|
Definition at line 77 of file DeFacto/Math/Vec3.cpp. References Vec3(), x, y, and z. Here is the call graph for this function: |
|
Definition at line 70 of file DeFacto/Math/Vec3.cpp. References Vec3(), x, y, and z. Here is the call graph for this function: |
|
|
|
Definition at line 141 of file DeFacto/Math/Vec3.cpp. |
|
|
|
|
|
Definition at line 116 of file DeFacto/Math/Vec3.cpp. References Vec3(), x, y, and z. Here is the call graph for this function: |
|
Definition at line 109 of file DeFacto/Math/Vec3.cpp. References Vec3(), x, y, and z. Here is the call graph for this function: |
|
|
|
|
|
Definition at line 177 of file DeFacto/Math/Vec3.cpp. |
|
Definition at line 168 of file DeFacto/Math/Vec3.cpp. |
|
|
|
Definition at line 123 of file DeFacto/Math/Vec3.cpp. |
|
|
|
Definition at line 193 of file DeFacto/Math/Vec3.cpp. |
|
|
|
Definition at line 186 of file DeFacto/Math/Vec3.cpp. References length(). Here is the call graph for this function: |
|
Definition at line 79 of file LevelCreator/Math/Vector.h. References x. |
|
Definition at line 79 of file DeFacto/Math/Vector.h. References x. |
|
|
|
Definition at line 98 of file DeFacto/Math/Vec3.cpp. |
|
|
|