Emergency 2017 Dokumentation  v3.0.1
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...
 

Detailed Description

template<>
struct qsf::InterpolationPolicy< glm::quat >

Definition at line 26 of file InterpolationPolicyGlmQuat.h.

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.

Definition at line 42 of file InterpolationPolicyGlmQuat.h.

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

Definition at line 28 of file InterpolationPolicyGlmQuat.h.


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