mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-01 10:42:03 +03:00
Remove clamp in favor of SDL_clamp
For the same reasons as I removed VVV_min/max in favor of SDL_min/max in
aa7b63fa5f, I'm doing the same thing here.
This commit is contained in:
@@ -13,11 +13,6 @@ float inline fRandom(void)
|
||||
return ( float(rand()) / float(RAND_MAX)) ;
|
||||
}
|
||||
|
||||
inline int clamp(int x, int a, int b)
|
||||
{
|
||||
return x < a ? a : (x > b ? b : x);
|
||||
}
|
||||
|
||||
struct point
|
||||
{
|
||||
int x;
|
||||
|
||||
Reference in New Issue
Block a user