$search
#include <tgVector3.h>
Public Member Functions | |
tgVector3 | cross (tgVector3 v) |
float | dot (tgVector3 v) |
float | length () |
void | normalize () |
tgVector3 | operator* (float m) |
tgVector3 | operator* (tgVector3 v) |
tgVector3 | operator+ (tgVector3 v) |
tgVector3 | operator- (tgVector3 v) |
tgVector3 | operator/ (float m) |
tgVector3 | operator= (tgVector3 v) |
void | rotate (float fAngle, tgVector3 vAxis) |
void | rotateX (float fAngle) |
void | rotateY (float fAngle) |
void | rotateZ (float fAngle) |
void | setLength (float l) |
tgVector3 (float x, float y, float z) | |
tgVector3 (float all) | |
tgVector3 () | |
Static Public Member Functions | |
static tgVector3 | cross (tgVector3 v1, tgVector3 v2) |
Public Attributes | |
float | x |
float | y |
float | z |
Class tgVector3.
Definition at line 23 of file tgVector3.h.
tgVector3::tgVector3 | ( | ) |
Definition at line 15 of file tgVector3.cpp.
tgVector3::tgVector3 | ( | float | all | ) |
Definition at line 20 of file tgVector3.cpp.
tgVector3::tgVector3 | ( | float | x, | |
float | y, | |||
float | z | |||
) |
Definition at line 26 of file tgVector3.cpp.
Definition at line 70 of file tgVector3.cpp.
Definition at line 63 of file tgVector3.cpp.
float tgVector3::dot | ( | tgVector3 | v | ) |
Definition at line 77 of file tgVector3.cpp.
float tgVector3::length | ( | ) |
Definition at line 93 of file tgVector3.cpp.
void tgVector3::normalize | ( | ) |
Definition at line 82 of file tgVector3.cpp.
tgVector3 tgVector3::operator* | ( | float | m | ) |
Definition at line 53 of file tgVector3.cpp.
Definition at line 48 of file tgVector3.cpp.
Definition at line 38 of file tgVector3.cpp.
Definition at line 43 of file tgVector3.cpp.
tgVector3 tgVector3::operator/ | ( | float | m | ) |
Definition at line 58 of file tgVector3.cpp.
Definition at line 31 of file tgVector3.cpp.
void tgVector3::rotate | ( | float | fAngle, | |
tgVector3 | vAxis | |||
) |
Definition at line 130 of file tgVector3.cpp.
void tgVector3::rotateX | ( | float | fAngle | ) |
Definition at line 106 of file tgVector3.cpp.
void tgVector3::rotateY | ( | float | fAngle | ) |
Definition at line 114 of file tgVector3.cpp.
void tgVector3::rotateZ | ( | float | fAngle | ) |
Definition at line 122 of file tgVector3.cpp.
void tgVector3::setLength | ( | float | l | ) |
Definition at line 98 of file tgVector3.cpp.
float TomGine::tgVector3::x |
Definition at line 26 of file tgVector3.h.
float TomGine::tgVector3::y |
Definition at line 26 of file tgVector3.h.
float TomGine::tgVector3::z |
Definition at line 26 of file tgVector3.h.