#pragma once

#include <float.h>
#include <math.h>

#define MIX_PI 3.141592654f

#define MIX_CLAMP( a, b, c ) ( ( b > ( a ) )? b : ( ( c < ( a ) )? c : ( a ) ) )
#define MIX_FLOAT_IS_ZERO( a ) ( ( -FLT_EPSILON <= ( a ) ) && ( FLT_EPSILON >= ( a ) ) )
