| 136 | } |
| 137 | |
| 138 | double CalculateAutoZoom(double speedMpS, double distanceToTurn, bool isPerspectiveAllowed) |
| 139 | { |
| 140 | double const zoomByDistance = CalculateZoomByDistanceToTurn(distanceToTurn, isPerspectiveAllowed); |
| 141 | double const zoomByMaxSpeed = CalculateZoomByMaxSpeed(speedMpS, isPerspectiveAllowed); |
| 142 | |
| 143 | return std::min(zoomByDistance, zoomByMaxSpeed); |
| 144 | } |
| 145 | |
| 146 | void ResetNotification(uint64_t & notifyId) |
| 147 | { |
no test coverage detected