include/cinder/CinderMath.h File Reference

Go to the source code of this file.

Classes

struct  cinder::math< T >
struct  cinder::math< float >

Namespaces

namespace  cinder

Functions

template<typename T , typename L >
cinder::lerp (const T &a, const T &b, L factor)
template<typename T , typename L >
cinder::bezierInterp (T a, T b, T c, T d, L t)
template<typename T , typename L >
cinder::bezierInterpRef (const T &a, const T &b, const T &c, const T &d, L t)
template<typename T >
cinder::constrain (T val, T minVal, T maxVal)
template<class T >
cinder::sinx_over_x (T x)
uint32_t cinder::log2floor (uint32_t x)
uint32_t cinder::log2ceil (uint32_t x)
uint32_t cinder::nextPowerOf2 (uint32_t x)

Variables

const double cinder::EPSILON_VALUE = 4.37114e-05