pinEdge

fun pinEdge(projected: ScreenPoint?, width: Float, yawDeg: Double, pitchDeltaDeg: Double, previous: PinEdge?): PinEdge(source)

Where to pin a target that falls outside the view, chosen the way someone finds it: a target well to the side, or behind, pins to the side to turn toward (yawDeg, positive clockwise), and one roughly ahead pins top or bottom to tilt toward (pitchDeltaDeg, positive up). Choosing on the screen's own axes instead puts a node behind the user on the bottom edge while the camera points at the ground, which reads as inverted. previous holds through small wobbles: near SIDE_YAW_DEG and near straight behind, where the side would otherwise flip.