Hi,
I quite like the defines HANDMADE_MATH_USE_TURNS, HANDMADE_MATH_USE_DEGREES, HANDMADE_MATH_USE_TURNS which give the freedom to chose between the angle representation, but I've noticed that the trigonometry functions ASin, ATan and ATan2 are missing.
This makes it a bit awkward, since you then have to rely on other implementations which might use a different convention (especially if you're using turns).
Hi,
I quite like the defines
HANDMADE_MATH_USE_TURNS,HANDMADE_MATH_USE_DEGREES,HANDMADE_MATH_USE_TURNSwhich give the freedom to chose between the angle representation, but I've noticed that the trigonometry functions ASin, ATan and ATan2 are missing.This makes it a bit awkward, since you then have to rely on other implementations which might use a different convention (especially if you're using turns).