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

Detailed Description

template<>
struct qsf::InterpolationPolicy< Color4 >

Definition at line 26 of file InterpolationPolicyQsfColor4.h.

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?)

Definition at line 49 of file InterpolationPolicyQsfColor4.h.

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

Definition at line 28 of file InterpolationPolicyQsfColor4.h.

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

Definition at line 35 of file InterpolationPolicyQsfColor4.h.


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