TinySpline  0.7.0
Spline Library for a Multitude of Programming Languages
List of all members
tinyspline::Vec3 Class Reference

Public Member Functions

Vec3
 Vec3 ()
 
 Vec3 (real x, real y, real z)
 
Vec3 operator+ (const Vec3 &other)
 
Vec3 operator- (const Vec3 &other)
 
Vec3 operator* (real scalar)
 
real x () const
 
void setX (real val)
 
real y () const
 
void setY (real val)
 
real z () const
 
void setZ (real val)
 
std::vector< real > values () const
 
Vec3 add (const Vec3 &other) const
 
Vec3 subtract (const Vec3 &other) const
 
Vec3 multiply (real scalar) const
 
Vec3 cross (const Vec3 &other) const
 
Vec3 normalize () const
 
real magnitude () const
 
real dot (const Vec3 &other) const
 
real angle (const Vec3 &other) const
 
real distance (const Vec3 &other) const
 
std::string toString () const
 

The documentation for this class was generated from the following files: