Function subtract

  • Subtracts two quaternions.

    Type Parameters

    Parameters

    • a: BaseArgType

      Operand quaternion.

    • b: BaseArgType

      Operand quaternion.

    • Optional dst: T

      quaternion to hold result. If not passed in a new one is created.

    Returns T

    A quaternion that is the difference of a and b.