mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-09-29 01:37:23 +02:00
ef03c2a54a
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.
22 lines
312 B
C
22 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 */
|