Index manager
Increments when AABB CPU data changes (lock, update, resize).
Enqueues an update for a bounding box
Index of the bounding box to update
New bounding box data
Optionalmatrix: Mat4
Optional transformation matrix
Extra parameter 1
Extra parameter 2
Gets the bounding box data by its index
Index of the bounding box
Bounding box object to store the result
The bounding box
Gets the transformation matrix data for a bounded box
Index of the bounding box
Float32Array to store the matrix data
Locks a bounding box and returns its index
The bounding box to lock
Optionalmatrix: Mat4
Optional transformation matrix
Extra parameter 1 (usage depends on implementation)
Extra parameter 2 (usage depends on implementation)
Index of the locked bounding box
Locks a bounding box using min and max scalar values and returns its index
The array containing the bounding box data (min and max points) in local or world coordinates [minX, maxX, minY, maxY, minZ, maxZ]
The offset in the array where the bounding box data starts
Optionalmatrix: Mat4
Optional transformation matrix
Optionalextra1: number
Extra parameter 1 (usage depends on implementation)
Optionalextra2: number
Extra parameter 2 (usage depends on implementation)
Index of the locked bounding box
Unlocks a bounding box by its index
Index of the bounding box to unlock
Maximum number of AABBs the store can hold.