Skip to content

five-on-it / apps/client/src/renderer/heli-view / poolCentre

Function: poolCentre() ​

poolCentre(x, z, inside, aim): { x: number; z: number; } | undefined

Defined in: apps/client/src/renderer/heli-view.ts:147

Where a helicopter's searchlight's pool is on the ground (m), from where the helicopter is and its snapshot's word on the light: inside how far out (dm, negative while it is off), aim which way (rad, 0 toward +z); undefined while it is off.

Parameters ​

x ​

number

z ​

number

inside ​

number

aim ​

number

Returns ​

{ x: number; z: number; } | undefined