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<JsDouble>, startingIndex: Int? = definedExternally): ReadonlyArray<JsDouble>
Stores the provided instance into the provided array.
Link copied to clipboard
open override fun unpack(array: ReadonlyArray<JsDouble>, startingIndex: Int? = definedExternally, result: BoxGeometry? = definedExternally): BoxGeometry
Retrieves an instance from a packed array.