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

Method nlerp

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

Compute a linear (non-spherical) interpolation of this and the given quaternion q and store the result in this . @param q the other quaternion @param factor the interpolation factor. It is between 0.0 and 1.0 @return this

(Quat q, double factor)

Source from the content-addressed store, hash-verified

878 * @param factor the interpolation factor. It is between 0.0 and 1.0
879 * @return this
880 */
881 public Quat nlerp(Quat q, double factor) {
882 return nlerp(q, factor, this);
883 }
884
885 /**

Callers 1

slerpMethod · 0.95

Calls 2

dotMethod · 0.95
normalizeMethod · 0.45

Tested by

no test coverage detected