Skip to content

Function: resolveSolHeight()

ts
function resolveSolHeight(
   tile, 
   sim, 
   levels, 
   maxHeight): number;

Resolves the per-tile sol height for the unified shell. Pure look-up into the palette — the band-indexed elevation model already stamps a monotonically increasing height on every band, so the resolver only has to clamp to maxHeight.

Parameters

ParameterType
tileTile
simBodySimulation
levelsTerrainLevel[]
maxHeightnumber

Returns

number

Distribué sous la licence indiquée dans le dépôt.