Emergency 2017 Dokumentation  v3.0.1
qsf::InterpolationPolicy< Color3 > Struct Template Reference

#include <InterpolationPolicyQsfColor3.h>

Static Public Member Functions

static void interpolate (const Color3 &from, const Color3 &to, float t, Color3 &out)
 
static void interpolate (const Color3 &from, const Color3 &to, const glm::vec3 &t, Color3 &out)
 
static void bezierInterpolation (const Color3 &from, const Color3 &cp0, const Color3 &cp1, const Color3 &to, const glm::vec3 &s, Color3 &out)
 

Detailed Description

template<>
struct qsf::InterpolationPolicy< Color3 >

Definition at line 26 of file InterpolationPolicyQsfColor3.h.

Member Function Documentation

static void qsf::InterpolationPolicy< Color3 >::bezierInterpolation ( const Color3 from,
const Color3 cp0,
const Color3 cp1,
const Color3 to,
const glm::vec3 &  s,
Color3 out 
)
inlinestatic
Todo:
  • TODO(oi) Rooms for improvement here (like SIMD?)

Definition at line 48 of file InterpolationPolicyQsfColor3.h.

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

Definition at line 28 of file InterpolationPolicyQsfColor3.h.

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

Definition at line 35 of file InterpolationPolicyQsfColor3.h.


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