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

#include <InterpolationPolicyQsfColor4.h>

Static Public Member Functions

static void interpolate (const Color4 &from, const Color4 &to, float t, Color4 &out)
 
static void interpolate (const Color4 &from, const Color4 &to, const glm::vec4 &t, Color4 &out)
 
static void bezierInterpolation (const Color4 &from, const Color4 &cp0, const Color4 &cp1, const Color4 &to, const glm::vec4 &t, Color4 &out)
 

Member Function Documentation

static void qsf::InterpolationPolicy< Color4 >::bezierInterpolation ( const Color4 from,
const Color4 cp0,
const Color4 cp1,
const Color4 to,
const glm::vec4 &  t,
Color4 out 
)
inlinestatic
Todo:
  • TODO(oi) Rooms for improvement here (like SIMD?)
static void qsf::InterpolationPolicy< Color4 >::interpolate ( const Color4 from,
const Color4 to,
float  t,
Color4 out 
)
inlinestatic
static void qsf::InterpolationPolicy< Color4 >::interpolate ( const Color4 from,
const Color4 to,
const glm::vec4 &  t,
Color4 out 
)
inlinestatic

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