Skip to content

five-on-it / packages/catalogue/src/region/roads / landAt

Function: landAt() ​

landAt(heights, x, z): number

Defined in: packages/catalogue/src/region/roads.ts:72

The land's height (m) at a point, from the corners alone (no bumps): what the road follows.

Parameters ​

heights ​

RegionHeights

x ​

number

z ​

number

Returns ​

number