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 explicit quat to mat3/mat4 type conversion #274

Closed
plasmacel opened this issue Nov 23, 2014 · 1 comment
Closed

add explicit quat to mat3/mat4 type conversion #274

plasmacel opened this issue Nov 23, 2014 · 1 comment

Comments

@plasmacel
Copy link

It would be useful if glm::mat3 / glm::mat4 types had explicit constructors accepting glm::quat
to make full support for standard conversion between quat / mat types and vice versa. glm::quat already implements this behaviour for mat types. it should be supported vice versa.

@Groovounet
Copy link
Member

GTC_quaternion supports quat_cast, mat3_cast and mat4_cast already.

Adding these constructors would add a dependency of core code (what GLSL supports) to extensions (what GLSL doesn't support). This is going against the spirit of the library.

Thanks,
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

2 participants