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