mirror of
https://github.com/recp/cglm.git
synced 2025-12-24 20:34:58 +00:00
M_PI, M_PI_2 and M_PI_4 aren't part of the C standard. If you put your gcc into strict standards mode, like `-std=c11`, you won't get these constants and including cglm.h will fail. This commit replaces those constants with their literal values. The cast to a float remains, to keep exactly the same behavior as before.