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

Replace Vector with glm::vec2 #1735

Merged
merged 5 commits into from
May 8, 2021
Merged

Replace Vector with glm::vec2 #1735

merged 5 commits into from
May 8, 2021

Conversation

Grumbel
Copy link
Member

@Grumbel Grumbel commented Apr 26, 2021

This replaces the homebrewn Vector with glm, which is a C++ math library based on the math functions from OpenGL's GLSL. The library also has matrixes, quartanions, int-vectors and a bunch of more stuff that could be handy in the future.

glm should be available in most distributions these days.

One important caveat to be aware of: glm types behaves like primitive C types, so everything needs to be explicitly initialized.

@Grumbel Grumbel force-pushed the feature/glm branch 3 times, most recently from 3dc4a4c to a6dee17 Compare April 26, 2021 13:27
@Grumbel Grumbel marked this pull request as ready for review April 26, 2021 14:10
@Grumbel Grumbel force-pushed the feature/glm branch 4 times, most recently from e10a354 to 0a9620b Compare May 2, 2021 20:11
@Grumbel Grumbel force-pushed the feature/glm branch 2 times, most recently from 211bbfb to b4484e8 Compare May 8, 2021 05:07
@Grumbel Grumbel merged commit 6b8583e into master May 8, 2021
@Grumbel Grumbel deleted the feature/glm branch May 8, 2021 14:38
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.

1 participant