Function extractMinAndMax
-
extractMinAndMax(
positions: FloatArray,
start: number,
count: number,
bias?: Nullable<Vector2>,
stride?: number,
): { maximum: Vector3; minimum: Vector3 }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: numberdefines the stride size to use (distance between two positions in the positions array)
Returns { maximum: Vector3; minimum: Vector3 }
minimum and maximum values
- positions: FloatArray
Extracts minimum and maximum values from a list of positions