|
Neo
0.5.0
Developer Documentation
|
#include <Vector3.h>
Public Member Functions | |
| Vector3 (void) | |
| Vector3 (float newX, float newY, float newZ) | |
| Vector3 (const float value) | |
| Vector3 (const float *values) | |
| Vector3 (const Vector3 &vec) | |
| Vector3 (const Vector4 &vec) | |
| Vector3 (const Vector2 &vec) | |
| Vector3 | add (const Vector3 &vec) const |
| Vector3 | substract (const Vector3 &vec) const |
| Vector3 | multiply (const float value) const |
| Vector3 | divide (const float value) const |
| bool | equals (const Vector3 &vec) const |
| Vector3 | operator+ (const Vector3 &vec) const |
| Vector3 | operator- (const Vector3 &vec) const |
| Vector3 | operator+ (const float &value) const |
| Vector3 | operator- (const float &value) const |
| Vector3 | operator* (const float value) const |
| Vector3 | operator* (const Vector3 &vec) const |
| Vector3 | operator/ (const Vector3 &vec) const |
| Vector3 | operator/ (const float value) const |
| bool | operator== (const Vector3 &vec) const |
| bool | operator!= (const Vector3 &vec) const |
| void | operator+= (const Vector3 &vec) |
| void | operator-= (const Vector3 &vec) |
| void | operator*= (const float value) |
| void | operator= (const float value) |
| void | operator/= (const float value) |
| Vector3 | operator- (void) const |
| Vector3 | operator+ (void) const |
| operator float * () const | |
| operator const float * () const | |
| void | set (const float newX, const float newY, const float newZ) |
| void | loadIdentity (void) |
| Vector3 | crossProduct (const Vector3 &vec) const |
| float | dotProduct (const Vector3 &vec) const |
| void | normalize () |
| Vector3 | 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 Vector3 &axis) |
| Vector3 | getRotatedX (double angle) const |
| Vector3 | getRotatedY (double angle) const |
| Vector3 | getRotatedZ (double angle) const |
| Vector3 | getRotatedAxis (double angle, const Vector3 &axis) const |
| Vector3 | lerp (const Vector3 &vec, float factor) const |
Public Attributes | |
| float | x |
| float | y |
| float | z |
Friends | |
| Vector3 | operator* (float factor, const Vector3 &vec) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Neo::Vector3::Vector3 | ( | const Vector4 & | vec | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| Vector3 Neo::Vector3::getNormalized | ( | ) | const |
| Vector3 Neo::Vector3::getRotatedX | ( | double | angle | ) | const |
| Vector3 Neo::Vector3::getRotatedY | ( | double | angle | ) | const |
| Vector3 Neo::Vector3::getRotatedZ | ( | double | angle | ) | const |
|
inline |
|
inline |
|
inline |
| void Neo::Vector3::normalize | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Neo::Vector3::rotateAxis | ( | double | angle, |
| const Vector3 & | axis | ||
| ) |
| void Neo::Vector3::rotateX | ( | double | angle | ) |
| void Neo::Vector3::rotateY | ( | double | angle | ) |
| void Neo::Vector3::rotateZ | ( | double | angle | ) |
|
inline |
| float Neo::Vector3::x |
| float Neo::Vector3::y |
| float Neo::Vector3::z |