mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 20:25:29 +08:00
style fixes: mostly just things that make my eyes bleed :)
This commit is contained in:
@@ -12,6 +12,7 @@ namespace BlackMisc
|
||||
{
|
||||
namespace PhysicalQuantities
|
||||
{
|
||||
|
||||
/*!
|
||||
* \brief Physical unit angle (radians, degrees)
|
||||
*/
|
||||
@@ -24,9 +25,9 @@ public:
|
||||
CAngle() : CPhysicalQuantity(0, CAngleUnit::rad(), CAngleUnit::rad()) {}
|
||||
|
||||
/*!
|
||||
* \brief Copy constructor
|
||||
* \brief Copy constructor from base type
|
||||
*/
|
||||
CAngle(const CAngle &angle) : CPhysicalQuantity(angle) {}
|
||||
CAngle(const CPhysicalQuantity &base) : CPhysicalQuantity(base) {}
|
||||
|
||||
/*!
|
||||
* \brief Init by int value
|
||||
@@ -51,9 +52,7 @@ public:
|
||||
CAngle(qint32 degrees, qint32 minutes, double seconds) :
|
||||
CPhysicalQuantity(
|
||||
degrees + minutes / 100.0 + seconds / 10000.0,
|
||||
CAngleUnit::sexagesimalDeg(), CAngleUnit::rad()) {
|
||||
// void
|
||||
}
|
||||
CAngleUnit::sexagesimalDeg(), CAngleUnit::rad()) {}
|
||||
|
||||
/*!
|
||||
* \brief Virtual destructor
|
||||
|
||||
Reference in New Issue
Block a user