five-on-it / apps/client/src/renderer/drone-view / shadowHeight
Function: shadowHeight()
shadowHeight(
surfaces,ground,below):number
Defined in: apps/client/src/renderer/drone-view.ts:144
The height its shadow falls on, of the surfaces over a point (surfacesOver) and the ground there: the highest up-facing one under below (a roof under a drone, the street when it is over the street), else the ground.
Parameters
surfaces
readonly object[]
ground
number
below
number
Returns
number