animartrix bugfix: no fmodf replacement to avoid effect freak-out

Commented out fmodf replacement to prevent issues with integer approximation in radial oscillator.
This commit is contained in:
Frank Möhle
2026-03-09 16:56:02 +01:00
committed by GitHub
parent 32bc474055
commit e19e5289c1

View File

@@ -15,8 +15,8 @@
float res = num - tquot * denom;
return res;
}
#undef fmodf
#define fmodf(num, denum) my_fmod_t(num, denum)
// #undef fmodf //don't replace fmodf - the integer approximation version leads to effect freak-out (radial osciallator) after a few hours.
// #define fmodf(num, denum) my_fmod_t(num, denum)
#undef floorf
#define floorf(num) my_floor_t(num)
#define sinf(angle) sin_approx(angle)