unsigned int is_power_of_2(unsigned int x);
int npot(int n);
#ifdef _WIN32
double round(double r);
#endif
double getTicks();
void init_time(double *t0);
void update_time(double *t, const double t0);
void HSVtoRGB(float h, float s, float v, float* r, float* g, float* b);