Geometry · function
solidIcosphere
An icosahedron subdivided level times onto a sphere of radius. Faceted by default — every
triangle its own vertices and face normal — or smooth, sharing vertices with radial normals.
Explained in Hello world, Meshes and geometry.
function solidIcosphere(radius: number, level: number, smooth?: boolean): Solidimport { solidIcosphere } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
radius | number | |
level | number | |
smooth? | boolean |