You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@bugsweeper You're right that the vector types are owned by glam, but on the other hand, we could easily implement slerp functions for the Dir2/Dir3 types that we do own, and I think those would be quite useful.
What problem does this solve or what need does it fill?
Linear interpolation is unsuited for transitioning of directions.
What solution would you like?
I would like a spherical interpolation function (slerp) for Vec2 and Vec3 directions.
Additional context
This is a common feature in existing game engines:
https://docs.godotengine.org/en/stable/classes/class_vector3.html#class-vector3-method-slerp
https://docs.unity3d.com/ScriptReference/Vector3.Slerp.html
The text was updated successfully, but these errors were encountered: