Emergency 20 Dokumentation  4.1.0
Static Public Member Functions | List of all members
qsf::InterpolationPolicy< glm::quat > Struct Template Reference

#include <InterpolationPolicyGlmQuat.h>

Static Public Member Functions

static void interpolate (const glm::quat &from, const glm::quat &to, float t, glm::quat &out)
 
static void bezierInterpolation (const glm::quat &from, const glm::quat &cp0, const glm::quat &cp1, const glm::quat &to, float t, glm::quat &out)
 Bezier interpolating quaternions is really hard! Because of that, there is no implementation here. More...
 

Member Function Documentation

static void qsf::InterpolationPolicy< glm::quat >::bezierInterpolation ( const glm::quat &  from,
const glm::quat &  cp0,
const glm::quat &  cp1,
const glm::quat &  to,
float  t,
glm::quat &  out 
)
inlinestatic

Bezier interpolating quaternions is really hard! Because of that, there is no implementation here.

Todo:
  • TODO(oi) This is left to someone who knows his way around 4D-quat-arithmetics. I don't even know how I would represent the tangents in any meaningful way.
static void qsf::InterpolationPolicy< glm::quat >::interpolate ( const glm::quat &  from,
const glm::quat &  to,
float  t,
glm::quat &  out 
)
inlinestatic

The documentation for this struct was generated from the following file: