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
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Calculates spherical linear interpolation between two quaternions
Parameters
Parameter
Default Value
Note
q1
QuaternionIdentity
q2
QuaternionIdentity
amount
0
Return value
Condition
Return Value
(always)
map
Notes
Example
q1=raylib.QuaternionIdentityq2=raylib.QuaternionFromAxisAngle([0,1,0], 90*(pi/180))
// Smooth spherical interpolation at 25% of the wayq=raylib.QuaternionSlerp(q1, q2, 0.25)