API

Function extractMinAndMax

  • Extracts minimum and maximum values from a list of positions

    Parameters

    • positions: FloatArray

      defines the positions to use

    • start: number

      defines the start index in the positions array

    • count: number

      defines the number of positions to handle

    • bias: Nullable<Vector2> = null

      defines bias value to add to the result

    • Optionalstride: number

      defines the stride size to use (distance between two positions in the positions array)

    Returns { maximum: Vector3; minimum: Vector3 }

    minimum and maximum values