Spherical linear interpolation between two quaternions.
Produces smooth rotations without gimbal lock. Useful for camera orientation transitions.
Start quaternion
End quaternion
Interpolation factor (0-1), clamped automatically
Optional
Optional output quaternion (avoids allocation)
Interpolated quaternion
Spherical linear interpolation between two quaternions.
Produces smooth rotations without gimbal lock. Useful for camera orientation transitions.