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 #204

Closed
wants to merge 2 commits into from

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

  • 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 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
@legends2k legends2k closed this Jun 7, 2021
@legends2k
Copy link
Contributor Author

Will do a rebase pull and resubmit this PR from my fork.

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