frontend.cpp: clean up indents with some braces in calcDeclination()

This commit is contained in:
2020-11-15 15:59:09 +01:00
parent 88abaa8232
commit 9f0c88a215

View File

@@ -2493,9 +2493,7 @@ double calcAzimuth(double SatLon, double SiteLat, double SiteLon, int Height_ove
double calcDeclination(double SiteLat, double Azimuth, double Elevation)
{
return Deg(ASIN(SIN(Radians(Elevation)) * SIN(Radians(SiteLat)) + COS(Radians(Elevation)) * COS(Radians(SiteLat)) + COS(Radians(Azimuth))
)
);
return Deg(ASIN(SIN(Radians(Elevation)) * SIN(Radians(SiteLat)) + COS(Radians(Elevation)) * COS(Radians(SiteLat)) + COS(Radians(Azimuth))));
}
double calcSatHourangle(double Azimuth, double Elevation, double Declination, double Lat)