| 75 | } |
| 76 | |
| 77 | ConnectionId connectionForEntity(EntityId entityId) { |
| 78 | if (entityId > 0) |
| 79 | return ServerConnectionId; |
| 80 | else |
| 81 | return (-entityId - 1) / 65536 + 1; |
| 82 | } |
| 83 | |
| 84 | pair<float, Direction> getAngleSide(float angle, bool ccRotation) { |
| 85 | angle = constrainAngle(angle); |
no outgoing calls
no test coverage detected