Functions |
void | init_config (t_config *config) |
| Init configuration.
|
void | init_flags (t_flag *flags) |
| Init flags.
|
double | get_fps (double dt, t_fps *acc) |
int | my_tictoc (int status) |
| TIC TOC implementation functions.
|
int | timediff (struct timeval t1, struct timeval t2) |
| Calculates timediff.
|
double | point2point_distance (double xi, double yi, double xf, double yf) |
double | point2point_algebric_distance (double xi, double yi, double xf, double yf) |
| Calculates the algebric distante between two points.
|
double | point2line_distance (double alpha, double ro, double x, double y) |
| Calculates the line to point distance.
|
int | real2print (double x, t_config *config) |
| Converts a value from real world coordinates to image coordinates.
|