Constructors

Methods

  • Applies the stored deltas on the targeting direction to suppress jumps because of the handover

    Parameters

    • currentDirection: vec3

      targeting direction on the current frame

    Returns vec3

    targeting direction with deltas applied on it

  • Applies the stored deltas on the targeting locus to suppress jumps because of the handover

    Parameters

    • currentLocus: vec3

      targeting locus on the current frame

    Returns vec3

    targeting locus with deltas applied on it

  • Resets the state of the suppressor Should be called when the hand is not tracked or targeting is blocked

    Returns void

  • Update the suppressor state by detecting handover and computing, storing deltas

    Parameters

    • currentDirection: vec3

      targeting direction on the current frame

    • currentLocus: vec3

      targeting locus on the current frame

    Returns void