Module geometry-utils/create-torus
Functions
createTorus
- createTorus(params?: Torus): { 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
Generate torus geometry