Skip to main content

aabb3_array_size

aabb3_array_size(output, output_offset, data, offset) ⇒ void

Calculates the size of an axis-aligned bounding box (AABB) in 3D space and stores the result in the output array.

Kind: global function
Returns: void - This function does not return a value; it writes the calculated size values directly into the output array.

ParamTypeDescription
outputFloat32ArrayThe array where the computed size values will be stored.
output_offsetnumberThe starting index in the output array where the size values will be written.
dataFloat32ArrayThe array containing the AABB coordinates. Must contain six consecutive values: [minX, minY, minZ, maxX, maxY, maxZ].
offsetnumberThe starting index in the data array where the AABB coordinates begin.