Cinder  0.9.1
Namespaces | Functions
CinderMath.cpp File Reference
#include "cinder/CinderMath.h"
#include <algorithm>

Namespaces

 cinder
 

Functions

template<typename T >
int cinder::solveCubic (T a, T b, T c, T d, T result[3])
 
template int cinder::solveCubic (float a, float b, float c, float d, float result[3])
 
template int cinder::solveCubic (double a, double b, double c, double d, double result[3])
 
vec2 cinder::getClosestPointEllipse (const vec2 &center, const vec2 &axisA, const vec2 &axisB, const vec2 &testPoint)
 
half_float cinder::floatToHalf (float f)
 
float cinder::halfToFloat (half_float h)