Companion
Types
Link copied to clipboard
interface FromDimensionsOptions
Functions
Link copied to clipboard
Computes the geometric representation of a box, including its vertices, indices, and a bounding sphere.
Link copied to clipboard
Creates a cube from the dimensions of an AxisAlignedBoundingBox.
Link copied to clipboard
Creates a cube centered at the origin given its dimensions.
Link copied to clipboard
open override fun pack(value: BoxGeometry, array: ReadonlyArray<Double>, startingIndex: Int?): ReadonlyArray<Double>
Stores the provided instance into the provided array.
Link copied to clipboard
open override fun unpack(array: ReadonlyArray<Double>, startingIndex: Int?, result: BoxGeometry?): BoxGeometry
Retrieves an instance from a packed array.