MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / slerp

Method slerp

src/main/java/field/linalg/Quat.java:834–836  ·  view source on GitHub ↗

Interpolate between this quaternion and the specified target using sperical linear interpolation using the specified interpolation factor alpha . @param target the target of the interpolation, which should be reached with alpha = 1.0 @param alpha the

(Quat target, double alpha)

Source from the content-addressed store, hash-verified

832 * @param alpha the interpolation factor, within <tt>[0..1]</tt>
833 * @return this
834 */
835 public Quat slerp(Quat target, double alpha) {
836 return slerp(target, alpha, this);
837 }
838
839 /**

Callers

nothing calls this directly

Calls 3

nlerpMethod · 0.95
acosMethod · 0.80
sinMethod · 0.45

Tested by

no test coverage detected