Maybe a typo in the code
Forums:
Is the 1e-20 in the second line a typo? In the old version this was 1e-10.
float utils_fast_atan2(float y, float x) {
float abs_y = fabsf(y) + 1e-20; // kludge to prevent 0/0 condition
float angle;
- Read more about Maybe a typo in the code
- 3 comments
- Log in or register to post comments