1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-17 10:08:29 +02:00
VVVVVV/desktop_version/src/Maths.h
Misa ef03c2a54a 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.
2022-02-11 17:31:41 -05:00

23 lines
312 B
C

#ifndef MATHGAME_H
#define MATHGAME_H
#include <stdlib.h>
//// This header holds Maths functions that emulate the functionality of flash's
//random
//Returns 0..1
float inline fRandom(void)
{
return ( float(rand()) / float(RAND_MAX)) ;
}
struct point
{
int x;
int y;
};
#endif /* MATHGAME_H */