#include <Vec.h>
Public Member Functions | |
Vec3 | cross (const Vec3 &v) const |
T | dot (const Vec3 &v) const |
T | length () const |
Vec3< T > | normalized () const |
Vec3 | operator * (T a) const |
bool | operator!= (const Vec3 &o) const |
Vec3 | operator+ (const Vec3 &v) const |
const Vec3 & | operator+= (const Vec3 &v) |
Vec3 | operator- (const Vec3 &v) const |
Vec3 (T a, T b, T c) | |
Vec3 (T a) | |
Vec3 () | |
Public Attributes | |
T | x |
T | y |
T | z |
Vec3 | ( | ) | [inline] |
Vec3 | ( | T | a | ) | [inline] |
Vec3 | ( | T | a, | |
T | b, | |||
T | c | |||
) | [inline] |
T dot | ( | const Vec3< T > & | v | ) | const [inline] |
T length | ( | ) | const [inline] |
Vec3<T> normalized | ( | ) | const [inline] |
Vec3 operator * | ( | T | a | ) | const [inline] |
bool operator!= | ( | const Vec3< T > & | o | ) | const [inline] |
T x |
T y |
T z |