#include <Vector3.h>
Public Member Functions | |
Vector3 | Cross (const Vector3 &vec) const |
float | Dot (const Vector3 &vec) const |
bool | IsEqual (const Vector3 &vec) const |
float | Length () |
void | Normalize () |
Vector3 | operator* (const float k) const |
Vector3 | operator+ (const Vector3 &vec) const |
Vector3 | operator- (const Vector3 &vec) const |
Vector3 (const Vector3 &vec) | |
Vector3 (float x, float y, float z) | |
Vector3 () | |
~Vector3 () | |
Public Attributes | |
float | x |
float | y |
float | z |
Definition at line 4 of file Vector3.h.
Vector3::Vector3 | ( | ) |
Definition at line 4 of file Vector3.cpp.
Vector3::Vector3 | ( | float | x, | |
float | y, | |||
float | z | |||
) |
Definition at line 7 of file Vector3.cpp.
Vector3::~Vector3 | ( | ) |
Definition at line 10 of file Vector3.cpp.
Vector3::Vector3 | ( | const Vector3 & | vec | ) |
Definition at line 13 of file Vector3.cpp.
Definition at line 57 of file Vector3.cpp.
float Vector3::Dot | ( | const Vector3 & | vec | ) | const |
Definition at line 52 of file Vector3.cpp.
bool Vector3::IsEqual | ( | const Vector3 & | vec | ) | const |
Definition at line 71 of file Vector3.cpp.
float Vector3::Length | ( | ) |
Definition at line 66 of file Vector3.cpp.
void Vector3::Normalize | ( | ) |
Definition at line 44 of file Vector3.cpp.
Vector3 Vector3::operator* | ( | const float | k | ) | const |
Definition at line 35 of file Vector3.cpp.
Definition at line 17 of file Vector3.cpp.
Definition at line 26 of file Vector3.cpp.
float Vector3::x |
float Vector3::y |
float Vector3::z |