icculus / mojoshader

Use Direct3D shaders with other 3D rendering APIs.
https://icculus.org/mojoshader/
zlib License
122 stars 36 forks source link

Fix cos function using SDL_acos #62

Closed DominicKarma closed 9 months ago

DominicKarma commented 9 months ago

Self-explanatory enough. Was unable to find any information regarding this issue or reason for it being this, but it's something I and others have noticed externally in projects where mojoshader is used under the hood.

flibitijibibo commented 9 months ago

Amazed this wasn't caught sooner, thanks!

Chicken-Bones commented 9 months ago

Nice snipe :)