FCT
|
#include <Vec.h>
Public 成员函数 | |
Vec3 (float x=0.0f, float y=0.0f, float z=0.0f) | |
Vec3 (const Vec3 &other) | |
Vec3 | operator- () const |
bool | operator== (const Vec3 &other) const |
Vec3 & | operator+= (const Vec3 &rhs) |
bool | operator< (const Vec3 &other) const |
float | lengthSquared () const |
Vec3 & | operator-= (const Vec3 &rhs) |
Vec3 | operator+ (const Vec3 &rhs) const |
Vec3 | operator- (const Vec3 &rhs) const |
Vec3 | operator* (float scalar) const |
float | length () const |
Vec3 | normalize () const |
Vec3 | cross (const Vec3 &other) const |
Vec3 | rotate (const Vec3 &axis, float angle) const |
float | dot (const Vec3 &rhs) const |
Public 属性 | |
float | x |
float | y |
float | z |
|
inline |