|
Maratis Engine
|
#include <MVector3.h>
Public Member Functions | |
| MVector3 (void) | |
| MVector3 (float newX, float newY, float newZ) | |
| MVector3 (const float value) | |
| MVector3 (const float *values) | |
| MVector3 (const MVector3 &vec) | |
| MVector3 (const MVector2 &vec) | |
| MVector3 | operator+ (const MVector3 &vec) const |
| MVector3 | operator- (const MVector3 &vec) const |
| MVector3 | operator+ (const float &value) const |
| MVector3 | operator- (const float &value) const |
| MVector3 | operator* (const float value) const |
| MVector3 | operator* (const MVector3 &vec) const |
| MVector3 | operator/ (const MVector3 &vec) const |
| MVector3 | operator/ (const float value) const |
| bool | operator== (const MVector3 &vec) const |
| bool | operator!= (const MVector3 &vec) const |
| void | operator+= (const MVector3 &vec) |
| void | operator-= (const MVector3 &vec) |
| void | operator*= (const float value) |
| void | operator= (const float value) |
| void | operator/= (const float value) |
| MVector3 | operator- (void) const |
| MVector3 | operator+ (void) const |
| operator float * () const | |
| operator const float * () const | |
| void | set (const float newX, const float newY, const float newZ) |
| void | loadIdentity (void) |
| MVector3 | crossProduct (const MVector3 &vec) const |
| float | dotProduct (const MVector3 &vec) const |
| void | normalize () |
| MVector3 | getNormalized () const |
| float | getLength () const |
| float | getSquaredLength () const |
| void | rotateX (double angle) |
| void | rotateY (double angle) |
| void | rotateZ (double angle) |
| void | rotateAxis (double angle, const MVector3 &axis) |
| MVector3 | getRotatedX (double angle) const |
| MVector3 | getRotatedY (double angle) const |
| MVector3 | getRotatedZ (double angle) const |
| MVector3 | getRotatedAxis (double angle, const MVector3 &axis) const |
| MVector3 | lerp (const MVector3 &vec, float factor) const |
Public Attributes | |
| float | x |
| float | y |
| float | z |
Friends | |
| MVector3 | operator* (float factor, const MVector3 &vec) |
| MVector3::MVector3 | ( | void | ) | [inline] |
| MVector3::MVector3 | ( | float | newX, |
| float | newY, | ||
| float | newZ | ||
| ) | [inline] |
| MVector3::MVector3 | ( | const float | value | ) | [inline] |
| MVector3::MVector3 | ( | const float * | values | ) | [inline] |
| MVector3::MVector3 | ( | const MVector3 & | vec | ) | [inline] |
| MVector3::MVector3 | ( | const MVector2 & | vec | ) | [inline] |
| float MVector3::dotProduct | ( | const MVector3 & | vec | ) | const [inline] |
| float MVector3::getLength | ( | ) | const [inline] |
| MVector3 MVector3::getNormalized | ( | ) | const |
| MVector3 MVector3::getRotatedX | ( | double | angle | ) | const |
| MVector3 MVector3::getRotatedY | ( | double | angle | ) | const |
| MVector3 MVector3::getRotatedZ | ( | double | angle | ) | const |
| float MVector3::getSquaredLength | ( | ) | const [inline] |
| void MVector3::loadIdentity | ( | void | ) | [inline] |
| void MVector3::normalize | ( | ) |
| MVector3::operator const float * | ( | ) | const [inline] |
| MVector3::operator float * | ( | ) | const [inline] |
| bool MVector3::operator!= | ( | const MVector3 & | vec | ) | const [inline] |
| MVector3 MVector3::operator* | ( | const float | value | ) | const [inline] |
| void MVector3::operator*= | ( | const float | value | ) | [inline] |
| MVector3 MVector3::operator+ | ( | void | ) | const [inline] |
| MVector3 MVector3::operator+ | ( | const float & | value | ) | const [inline] |
| void MVector3::operator+= | ( | const MVector3 & | vec | ) | [inline] |
| MVector3 MVector3::operator- | ( | const float & | value | ) | const [inline] |
| MVector3 MVector3::operator- | ( | void | ) | const [inline] |
| void MVector3::operator-= | ( | const MVector3 & | vec | ) | [inline] |
| MVector3 MVector3::operator/ | ( | const float | value | ) | const [inline] |
| void MVector3::operator/= | ( | const float | value | ) | [inline] |
| void MVector3::operator= | ( | const float | value | ) | [inline] |
| bool MVector3::operator== | ( | const MVector3 & | vec | ) | const [inline] |
| void MVector3::rotateAxis | ( | double | angle, |
| const MVector3 & | axis | ||
| ) |
| void MVector3::rotateX | ( | double | angle | ) |
| void MVector3::rotateY | ( | double | angle | ) |
| void MVector3::rotateZ | ( | double | angle | ) |
| void MVector3::set | ( | const float | newX, |
| const float | newY, | ||
| const float | newZ | ||
| ) | [inline] |
| float MVector3::x |
| float MVector3::y |
| float MVector3::z |
1.7.3