Euphoria
default_interpolate.h File Reference

Go to the source code of this file.

Classes

struct  eu::InterpolateDefault< T >
 

Namespaces

 eu
 

Macros

#define DEFAULT_INTERPOLATE(TYPE, FUNCTION)
 

Functions

template<typename T >
eu::default_interpolate (const T &from, float t, const T &to)
 

Macro Definition Documentation

◆ DEFAULT_INTERPOLATE

#define DEFAULT_INTERPOLATE (   TYPE,
  FUNCTION 
)
Value:
template<> struct InterpolateDefault<TYPE> {\
static TYPE interpolate(const TYPE& from, float v, const TYPE& to) { return FUNCTION(from, v, to); }\
}

Definition at line 19 of file default_interpolate.h.