nx-hbmenu/common/math.h
2018-02-26 23:52:13 +01:00

9 lines
157 B
C

#pragma once
#include "common.h"
float approxSin(float x);
inline float clamp(float x, float min, float max) {
return x<min ? min : x>max ? max : x;
}