Class Slerp.Linear

  • All Implemented Interfaces:
    java.util.function.DoubleFunction<Quaternion>
    Enclosing class:
    Slerp

    private class Slerp.Linear
    extends java.lang.Object
    implements java.util.function.DoubleFunction<Quaternion>
    Linear interpolation, used when the quaternions are too closely aligned.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Linear()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Quaternion apply​(double t)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Linear

        private Linear()
    • Method Detail

      • apply

        public Quaternion apply​(double t)
        Specified by:
        apply in interface java.util.function.DoubleFunction<Quaternion>