Module geometry-utils/create-sphere
Functions
createSphere
- createSphere(params?: Sphere): { 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 sphere