five-on-it / apps/client/src/ui/map-view / mapBearing
Function: mapBearing()
mapBearing(
me,target):number|undefined
Defined in: apps/client/src/ui/map-view.ts:143
The way from the player to a target as the maps draw it (rad on the canvas, 0 to the right, positive down: east is −x and right, north +z and up); undefined on top of it.
Parameters
me
x
number
z
number
target
x
number
z
number
Returns
number | undefined