Function: buildLayeredMergedGeometry()
ts
function buildLayeredMergedGeometry(
tiles,
coreRadius,
solOuterRadius,
solHeightFn): LayeredMergedGeometry;Builds the merged single-band hex-prism geometry for every tile.
Each tile contributes a sol prism between coreRadius and coreRadius + solHeight where solHeight is produced by solHeightFn and clamped into [0, shellThickness] (with shellThickness = solOuterRadius - coreRadius).
Parameters
| Parameter | Type | Description |
|---|---|---|
tiles | readonly Tile[] | All hexasphere tiles to include. |
coreRadius | number | World-space radius of the inner core sphere. |
solOuterRadius | number | World-space radius of the sol surface. |
solHeightFn | SolHeightFn | Per-tile sol height resolver. |