TinySpline
0.7.0
Spline Library for a Multitude of Programming Languages
|
Public Member Functions | |
Vec4 | |
Vec4 () | |
Vec4 (real x, real y, real z, real w) | |
Vec4 | operator+ (const Vec4 &other) |
Vec4 | operator- (const Vec4 &other) |
Vec4 | operator* (real scalar) |
real | x () const |
void | setX (real val) |
real | y () const |
void | setY (real val) |
real | z () const |
void | setZ (real val) |
real | w () const |
void | setW (real val) |
std::vector< real > | values () const |
Vec4 | add (const Vec4 &other) const |
Vec4 | subtract (const Vec4 &other) const |
Vec4 | multiply (real scalar) const |
Vec4 | normalize () const |
real | magnitude () const |
real | dot (const Vec4 &other) const |
real | angle (const Vec4 &other) const |
real | distance (const Vec4 &other) const |
std::string | toString () const |