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

Include affine.h in quat.h; remove needless decls #205

Merged
merged 1 commit into from
Jun 7, 2021

Conversation

legends2k
Copy link
Contributor

@legends2k legends2k commented Jun 7, 2021

Including all of cglm/cglm.h is sometimes an overkill. Just including cglm/quat.h results in a compiler error for

unknown symbol glm_translate_make

  • Include affine.h in quat.h for definition of glm_translate_make
  • Remove function declarations
    • glm_mat4_mulv since mat4.h is already included
    • glm_mul_rot as affine-mat.h is already included
    • glm_translate as affine.h is included with this change

* affine.h is needed for glm_translate_make
* Remove function declarations
  - glm_mat4_mulv since mat4.h is already included
  - glm_mul_rot as affine-mat.h is already include
  - glm_translate as affine.h is included with this change
@recp recp merged commit afdcae0 into recp:master Jun 7, 2021
@recp
Copy link
Owner

recp commented Jun 7, 2021

@legends2k the PR is merged, thanks for your contributions 🎉

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