Module
|
#include <Vector3.hpp>
Public Member Functions | |
Vector3 () | |
Vector3 (float x, float y, float z) | |
Vector3 | operator* (float scalar) const |
Vector3 | operator* (const Vector3 &other) const |
Vector3 & | operator*= (float scalar) |
Vector3 & | operator*= (const Vector3 &other) |
Vector3 | operator+ (const Vector3 &other) const |
Vector3 & | operator+= (const Vector3 &other) |
Vector3 | operator- () const |
Vector3 | operator- (const Vector3 &other) const |
Vector3 & | operator-= (const Vector3 &other) |
Vector3 | rotate (const Quaternion &other) const |
float | getX () const |
float | getY () const |
float | getZ () const |
Vector3 | cross (const Vector3 &other) const |
float | dot (const Vector3 &other) const |
Vector3::Vector3 | ( | ) |
Vector3::Vector3 | ( | float | x, |
float | y, | ||
float | z | ||
) |
float Vector3::dot | ( | const Vector3 & | other | ) | const |
|
inline |
|
inline |
|
inline |
Vector3 Vector3::operator* | ( | float | scalar | ) | const |
Vector3 & Vector3::operator*= | ( | float | scalar | ) |
Vector3 Vector3::operator- | ( | ) | const |
Vector3 Vector3::rotate | ( | const Quaternion & | other | ) | const |