Module geometry-utils/create-box
Functions
createBox
- createBox(params?: Box): { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
-
Parameters
Returns { indices: Uint16Array | Uint32Array; normal: Float32Array; uv: Float32Array; vertices: Float32Array }
-
indices: Uint16Array | Uint32Array
-
normal: Float32Array
-
uv: Float32Array
-
vertices: Float32Array
Generates geometry data for a box