You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By mistake I've passed 45.0f to gb_mat4_perspective and everything was looking fine.
But when I've enabled GB_MATH_NO_MATH_H suddenly nothing worked anymore.
Apparently tanf does some wrap arounds inside, and current emulation doesn't do that.
After some googling I found that original code is probably coming from some old DSP code ( for example this ) and then idlib math included it with some improvements here.
Not a problem for me, but would be nice to fix it at some point 👍
The text was updated successfully, but these errors were encountered:
By mistake I've passed 45.0f to
gb_mat4_perspective
and everything was looking fine.But when I've enabled
GB_MATH_NO_MATH_H
suddenly nothing worked anymore.Apparently tanf does some wrap arounds inside, and current emulation doesn't do that.
After some googling I found that original code is probably coming from some old DSP code ( for example this ) and then idlib math included it with some improvements here.
Not a problem for me, but would be nice to fix it at some point 👍
The text was updated successfully, but these errors were encountered: