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

math: quaternion to rotation matrix conversion #1318

Open
nothke opened this issue Dec 4, 2024 · 1 comment
Open

math: quaternion to rotation matrix conversion #1318

nothke opened this issue Dec 4, 2024 · 1 comment
Labels
feature-idea New feature or request mach.math

Comments

@nothke
Copy link

nothke commented Dec 4, 2024

There seems to be no quaternion rotation to matrix conversion in math. Mat4x4 has rotateX, rotateY, rotateZ functions, but no rotate that would take a quaternion. Is it just missing or is there another way to get one to perform a translation, rotation, scale (TRS) transformation on a matrix?

@nothke nothke added feedback needs-triage Issues that need triaging labels Dec 4, 2024
@emidoots
Copy link
Member

emidoots commented Dec 5, 2024

Just missing yep.

We just need an implementation that is proven correct and follows Mach's chosen math conventions, not copy-pasted from a different codebase, etc.

@emidoots emidoots changed the title math: Missing quaternion to rotation matrix conversion math: quaternion to rotation matrix conversion Dec 24, 2024
@emidoots emidoots added feature-idea New feature or request mach.math and removed needs-triage Issues that need triaging feedback labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-idea New feature or request mach.math
Projects
None yet
Development

No branches or pull requests

2 participants