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

constexpr for explicit constructors of vectors and matrices #493

Closed
RnMss opened this issue Mar 17, 2016 · 2 comments
Closed

constexpr for explicit constructors of vectors and matrices #493

RnMss opened this issue Mar 17, 2016 · 2 comments
Assignees
Milestone

Comments

@RnMss
Copy link

RnMss commented Mar 17, 2016

e.g.

namespace glm
{
    template <typename T, precision P>
    struct tvec2 {
        ...
        //from 
        //GLM_FUNC_DECL tvec2(T const & s1, T const & s2);`
        //to 
        GLM_FUNC_DECL GLM_CONSTEXPR tvec2(T const & s1, T const & s2);
        ...
    };
}
@Trass3r
Copy link

Trass3r commented Apr 5, 2016

...and quaternions :)

@Groovounet
Copy link
Member

This issue should be fixed in master branch for GLM 0.9.8.

Thanks for reporting,
Christophe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants