mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Ref T736 Fixed inverted x coordinate of CRadarComponent.
This commit is contained in:
committed by
Klaus Basan
parent
7b538a560a
commit
b569040492
@@ -286,7 +286,7 @@ namespace BlackGui
|
||||
|
||||
QPointF CRadarComponent::polarPoint(double distance, double angleRadians)
|
||||
{
|
||||
return { distance * qSin(angleRadians), -distance * qCos(angleRadians) };
|
||||
return { -distance * qSin(angleRadians), -distance * qCos(angleRadians) };
|
||||
}
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user