Geometry · function
solidSphere
A sphere of radius: segments around, half as many from pole to pole.
Explained in Hello world, Meshes and geometry.
function solidSphere(radius: number, segments: number, smooth?: boolean): Solidimport { solidSphere } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
radius | number | |
segments | number | |
smooth? | boolean |