Skip to content

Type Alias: SolHeightFn

ts
type SolHeightFn = (tile) => number;

Callback resolving the initial sol height of a tile in world units. The returned value is clamped into [0, shellThickness] by the caller.

Parameters

ParameterType
tileTile

Returns

number

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