Roguelike
 All Classes Namespaces Functions Variables Typedefs Friends Pages
math_helper.h
1 
21 #ifndef MATH_HELPER_H
22 #define MATH_HELPER_H
23 #include <math.h>
24 #include <int_point.h>
25 
26 const double PI = 3.1415926;
27 
33 double perc_to_rad(int percent);
34 
40 double coords_to_rad(IntPoint coords);
41 
47 int coords_to_perc(IntPoint coords);
48 
54 int rad_to_perc(double rad);
55 
56 #endif
Definition: int_point.h:26