Slerp Quaternion

Math
Tanto lado del cliente como del usuario
Disponible en PC y móvil

Quaternion spherical interpolation from A to B

Declaración

func SlerpQuaternion(valueA Quaternion, valueB Quaternion, valueT float) Quaternion
go

Parámetros

Entrada

Nombre Tipo Descripción
ValueA Quaternion A Value
ValueB Quaternion B value
ValueT Float Interpolation progress, the value range is [0,1]. When the value is 0, it returns the A value, and when the value is 1, it returns the B value.

Regresar

Tipo Descripción
Quaternion The resulting quaternion