icculus / mojoshader

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

Fix cos function using SDL_acos #62

Closed DominicKarma closed 1 year ago

DominicKarma commented 1 year 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 1 year ago

Amazed this wasn't caught sooner, thanks!

Chicken-Bones commented 1 year ago

Nice snipe :)