Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M_PI was not defined by <cmath> #475

Merged
merged 1 commit into from
Mar 20, 2024
Merged

M_PI was not defined by <cmath> #475

merged 1 commit into from
Mar 20, 2024

Conversation

jam3sward
Copy link
Contributor

<cmath> does not define M_PI on WIN32. Whilst we could define _USE_MATH_DEFINES in the project settings, or in code, it seems better to simply define a constant. It's only used at this one point, so makes sense to do it locally.

@syoyo syoyo merged commit b132612 into syoyo:release Mar 20, 2024
8 checks passed
@syoyo
Copy link
Owner

syoyo commented Mar 20, 2024

Thanks! Merged!

@jam3sward jam3sward deleted the issue-474 branch March 26, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants