Function divScalar

  • Divides a vector by a scalar.

    Type Parameters

    Parameters

    • v: BaseArgType

      The vector.

    • 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.