Companion
object Companion
Functions
Link copied to clipboard
fun computeAABB(vertices: FloatArray, indices: IntArray, count: Int = indices.size, stride: Int = 12): Box
Computes the bounding box of the vertices indices points at, for Builder.boundingBox.
fun computeAABB(vertices: FloatArray, indices: ShortArray, count: Int = indices.size, stride: Int = 12): Box
computeAABB with 16-bit indices.
fun computeAABB(vertices: ShortArray, indices: IntArray, count: Int = indices.size, stride: Int = 6): Box
computeAABB over half-float positions; stride is 6 for packed half3, 8 for half4.
fun computeAABB(vertices: ShortArray, indices: ShortArray, count: Int = indices.size, stride: Int = 6): Box
computeAABB over half-float positions with 16-bit indices.