Original post of the dump:
link
put this inside of resolver.cpp and call it inside of UpdateAnimations
Скрытое содержимое
In the meantime, there is no need to worry about it. ”Put his inside your resolver.h / animations.h whatever you have it called file Скрытое содержимое
fast_float_normalize is
float fast_float_normalize (float srcAngle, float distAngle) {
float difference;
for (; srcAngle> 180.0; srcAngle = srcAngle - 360.0)
;
for (; srcAngle <-180.0; srcAngle = srcAngle + 360.0)
;
for (; distAngle> 180.0; distAngle = distAngle - 360.0)
;
for (; distAngle <-180.0; distAngle = distAngle + 360.0)
;
for (difference = distAngle - srcAngle; difference> 180.0; difference = difference - 360.0)
;
for (; difference <-180.0; difference = difference + 360.0)
;
return difference;
}