X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FTime%2Fsunpos.hxx;h=0fb0df7470b69a08ca0b10c9eb9f4bf937da2e89;hb=62a359cc4a338b2f8b720edf8183ab5b69710b14;hp=b2919f044cdfb3eb1e82f573b839fe5ea72ea664;hpb=9bb782ce720071100e995b017f7a0051a2530568;p=flightgear.git diff --git a/src/Time/sunpos.hxx b/src/Time/sunpos.hxx index b2919f044..0fb0df747 100644 --- a/src/Time/sunpos.hxx +++ b/src/Time/sunpos.hxx @@ -1,38 +1,5 @@ /* - * sunpos.hxx (taken from XEarth) - * kirk johnson - * july 1993 - * - * code for calculating the position on the earth's surface for which - * the sun is directly overhead (adapted from _practical astronomy - * with your calculator, third edition_, peter duffett-smith, - * cambridge university press, 1988.) - * * RCS $Id$ - * - * Copyright (C) 1989, 1990, 1993, 1994, 1995 Kirk Lauritz Johnson - * - * Parts of the source code (as marked) are: - * Copyright (C) 1989, 1990, 1991 by Jim Frost - * Copyright (C) 1992 by Jamie Zawinski - * - * Permission to use, copy, modify and freely distribute xearth for - * non-commercial and not-for-profit purposes is hereby granted - * without fee, provided that both the above copyright notice and this - * permission notice appear in all copies and in supporting - * documentation. - * - * The author makes no representations about the suitability of this - * software for any purpose. It is provided "as is" without express or - * implied warranty. - * - * THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, - * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT - * OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM - * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, - * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN - * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ @@ -55,9 +22,6 @@ /* update the cur_time_params structure with the current sun position */ void fgUpdateSunPos( void ); -/* update the cur_time_params structure with the current moon position */ -void fgUpdateMoonPos( void ); - void fgSunPosition(time_t ssue, double *lon, double *lat); /* given a particular time expressed in side real time at prime