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

Add static components and prec members to all vector and quat types #350

Merged
merged 3 commits into from
Jul 18, 2015

Conversation

JesseTG
Copy link

@JesseTG JesseTG commented Jul 3, 2015

Makes it easier to do some template metaprogramming; if I want to write a class that works with any vector type, but needs to know said type at compile-time (as opposed to at runtime with the length()) method, this PR will allow that.

Also, I added in static members that describe precision, because why not.

@JesseTG
Copy link
Author

JesseTG commented Jul 3, 2015

Matrix changes are coming up soon

@Groovounet Groovounet added this to the GLM 0.9.7 milestone Jul 18, 2015
Groovounet added a commit that referenced this pull request Jul 18, 2015
Add static components and prec members to all vector and quat types #350
@Groovounet Groovounet merged commit 47deb97 into g-truc:master Jul 18, 2015
Groovounet added a commit that referenced this pull request Jul 18, 2015
@Groovounet Groovounet self-assigned this Jul 18, 2015
@Groovounet
Copy link
Member

The feature is now available in master with one difference: To be available GLM_META_PROG_HELPERS must be defined before usage.

Thanks,
Christophe

@JesseTG JesseTG deleted the jtg/template-convenience branch September 14, 2015 20:45
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.

2 participants