Function mulScalar

  • Multiplies a quaternion by a scalar.

    Type Parameters

    Parameters

    • v: BaseArgType

      The quaternion.

    • k: number

      The scalar.

    • Optional dst: T

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

    Returns T

    The scaled quaternion.