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

Quaternion New Features #344

Open
recp opened this issue Aug 25, 2023 · 5 comments
Open

Quaternion New Features #344

recp opened this issue Aug 25, 2023 · 5 comments

Comments

@recp
Copy link
Owner

recp commented Aug 25, 2023

https://developer.apple.com/documentation/accelerate/working_with_quaternions

We already have glm_quat_rotatev() ( which is similar to simd_act() I guess ), glm_quat_rotate() , glm_quat_rotate_at() ... but

  1. glm_quat_spline()
  2. glm_quat_bezier()
  3. glm_quat_slerp_longest()

would be nice to have.

@telephone001
Copy link
Contributor

thinking of implementing glm_quat_slerp_longest(versor q, versor r, float t, versor dest) by making r negative, comparing how big the angle is with q with r negative and regular r then slerping with the longer one.

@telephone001
Copy link
Contributor

Sorry I have been busy with some stuff and forgot to implement this. Hopefully someone else can implement this one.

@recp
Copy link
Owner Author

recp commented Feb 5, 2024

@telephone001 thanks, I'm also busy for a while but can implement when available

@telephone001
Copy link
Contributor

I'm back and ready to finish these things. I just realized that it was extremely easy to implement glm_quat_slerp_longest. But I'm also ready to implement the other two.

@recp
Copy link
Owner Author

recp commented May 13, 2024

Hi @telephone001,

Sorry for the delay,

Many thanks 🤗

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