1
0
Fork 0
blockofighter/src/utils.h

15 lines
302 B
C

#ifndef __UTILS_H_INCLUDED__
#define __UTILS_H_INCLUDED__
#define PI 3.14159265358979323846
void swapInt(int *a, int *b);
void swapFloat(float *a, float *b);
int random(int x);
float randomf(float x);
int smod(int val, int mod);
double sdes(double val);
double sfmod(double val, double mod);
#endif