9 lines
159 B
C
9 lines
159 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;
|
|
} |