CompassMath

Functions

Link copied to clipboard
fun directionX(bearing: Double, yaw: Double, width: Int, fov: Double): Double?

Cardinal labels and targets share precisely the same yaw-to-pixel mapping.

Link copied to clipboard
Link copied to clipboard
fun wrap(angle: Double): Double