Skip to content

five-on-it / apps/client/src/ui/studio/frame / bearingTo

Function: bearingTo() ​

bearingTo(from, to): number

Defined in: apps/client/src/ui/studio/frame.ts:33

The compass bearing from one game point toward another (0 north, 90 east), to the degree.

Parameters ​

from ​

Pt

to ​

Pt

Returns ​

number