Class AnimGroup.TargetLerp

  • All Implemented Interfaces:
    AnimGroup.LerpFunc
    Enclosing class:
    AnimGroup

    public static class AnimGroup.TargetLerp
    extends Object
    implements AnimGroup.LerpFunc
    Default target AnimGroup.LerpFunc, approaching AnimGroup.ShapeData's target position inclusive angular rotation around given normalized axis.

    Implementation uses the current shape position and time delta since last call, hence allows rugged utilization even if shapes are dragged around.