Function: findAxisAlignedBounds()
findAxisAlignedBounds(
arr):object
Defined in: packages/core/src/scene-understanding/scene-understanding-system.ts:899
From a flat [x,y,z, x,y,z, ...] vertex buffer, return its axis-aligned minimum and maximum coordinates. The extrema can come from different source vertices; treating one smallest-sum and one largest-sum vertex as bounds under-reports skewed meshes.
Parameters
arr
Float32Array
Returns
object
maxEntry
maxEntry:
Vec3
minEntry
minEntry:
Vec3