#define n_assert2(exp, msg)
Definition debug.h:51
Different curves.
Definition angularpfeedbackloop.h:17
static const __m128 _zero
Definition vec3.h:35
__forceinline vec3 multiply(const vec3 &v0, const vec3 &v1)
Definition vec3.h:375
quat slerp(const quat &q1, const quat &q2, scalar t)
quat slerp TODO: rewrite using sse/avx
Definition quat.h:463
__forceinline vec3 reciprocal(const vec3 &v)
Definition vec3.h:357
void decompose(const mat4 &mat, vec3 &outScale, quat &outRotation, vec3 &outTranslation)
Definition mat4.cc:50
__forceinline plane normalize(const plane &p)
Definition plane.h:255
__forceinline float lerp(float x, float y, float l)
Linearly interpolate between 2 values: ret = x + l * (y - x)
Definition scalar.h:597
half operator*(half one, half two)
Definition half.h:123
__forceinline bool greater_all(const point &v0, const point &v1)
Definition point.h:441
vec3 rotate(quat const &q, vec3 const &v)
Rotate a vector by a quaternion.
Definition quat.h:547
static const __m128 _plus1
Definition vec3.h:34
__forceinline mat4 inverse(const mat4 &m)
Definition mat4.h:429
A 4x4 single point precision float matrix.
Definition mat4.h:49
Represents a 3D point in space.
Definition point.h:22
__m128 vec
Definition point.h:75
A quaternion is usually used to represent an orientation in 3D space.
Definition quat.h:30
A 3D vector.
Definition vec3.h:40
A vector is a 3D direction in space.
Definition vector.h:22
__m128 vec
Definition vector.h:82