mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
frontend.cpp: clean up indents with some braces in calcDeclination()
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user