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

Adding constexpr qualifiers for dot and cross product #1040

Merged
merged 2 commits into from
Nov 20, 2020

Conversation

RohacekD
Copy link

There is no technical reason to not allow dot and cross product evaluate in compile time. Both operations uses only arithmetic multiplication and subtraction.

@christophe-lunarg christophe-lunarg added this to the GLM 0.9.9 milestone Nov 20, 2020
@christophe-lunarg christophe-lunarg merged commit 5a34b3a into g-truc:master Nov 20, 2020
@RohacekD RohacekD deleted the patch-constexpr branch November 20, 2020 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants