Feature: Quaternion.slerpQuaternions()
See original GitHub issueIt’s already possible to easily interpolate between two quaternions by using the static helper, but the Vector classes already implement a .lerpVectors, would it make sense to also have the same API for quaternions?
const q = new Quaternion()
q.slerpQuaternions(quatA, quatB, 0.6)
Please understand that this is just to keep the API predictable for end users
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Slerp - Wikipedia
In computer graphics, Slerp is shorthand for spherical linear interpolation, introduced by Ken Shoemake in the context of quaternion interpolation for the ...
Read more >Spherical Linear Interpolation (Slerp)
While Slerp interpolates along a great arc between two quaternions, it is also possible to interpolate along a straight line (in four-dimensional quaternion...
Read more >Scripting API: Quaternion.Slerp - Unity - Manual
Spherically interpolates between quaternions a and b by ratio t . The parameter t is clamped to the range [0, 1]. Use this...
Read more >MATLAB slerp - Spherical linear interpolation - MathWorks
Quaternion spherical linear interpolation (SLERP) is an extension of linear interpolation along a plane to spherical interpolation in three dimensions. The ...
Read more >Maths - Quaternion Interpolation (SLERP) - EuclideanSpace
The following code generates a quaternion between two given quaternions in proportion to the variable t, if t=0 then qm=qa, if t=1 then...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gsimone I’ve filed a PR in order to make sure it lands in
r127
.Yes, for consistency. This PR is a great suggestion.
EDIT: To be precise, we add the new method for consistency. We remove the old method because it becomes superfluous.