cglm
cglm copied to clipboard
Quaternion New Features
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
glm_quat_spline()glm_quat_bezier()glm_quat_slerp_longest()
would be nice to have.
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.
Sorry I have been busy with some stuff and forgot to implement this. Hopefully someone else can implement this one.
@telephone001 thanks, I'm also busy for a while but can implement when available
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.
Hi @telephone001,
Sorry for the delay,
Many thanks 🤗