()
| 4548 | } |
| 4549 | |
| 4550 | // Screen-space radius (px) a column is drawn at — kept in sync with _wifiHmDrawDesign. |
| 4551 | function _wifiHmColumnPxRadius(c, vp) { |
| 4552 | const floorM = _wifiHmFloorM(); |
| 4553 | const pxPerM = vp.pw / (vp.span * floorM); |
| 4554 | return Math.max(5, (c.radius_m || 0.3) * pxPerM); |
| 4555 | } |
| 4556 | |
| 4557 | // Hit-test a pointer position (p = {px,py,wx,wy,vp} from norm()) against AP |
| 4558 | // nodes (top), column resize handles, column bodies, then wall endpoints, then |
no outgoing calls
no test coverage detected