f32 PSVECMag(const Vec *v)
Computes the magnitude of a vector.
void PSVECSubtract(const Vec *v1, const Vec *v2, Vec *out)
Subtracts vector v2 from vector v1.
void PSVECAdd(const Vec *v1, const Vec *v2, Vec *out)
Sums two vectors together.
void PSVECScale(const Vec *in, Vec *out, float scale)
Multiplies a vector by a scalar.
A three-dimensional short vector.
A two-dimensional floating point vector.
A three-dimensional floating point vector.