From: curt Date: Thu, 2 Mar 2000 00:56:35 +0000 (+0000) Subject: Starting to work on an independent sky implimentation that can be used by X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=86892d87e9d8f7054aeb43e66bda0d75fe41258f;p=simgear.git Starting to work on an independent sky implimentation that can be used by any ssg application and can have it's components driven realistically based on time. --- diff --git a/simgear/sky/Makefile.am b/simgear/sky/Makefile.am new file mode 100644 index 00000000..405e5068 --- /dev/null +++ b/simgear/sky/Makefile.am @@ -0,0 +1,8 @@ +noinst_LIBRARIES = libSky.a + +libSky_a_SOURCES = \ + skydome.cxx skydome.hxx \ + skysun.cxx skysun.hxx \ + sphere.cxx sphere.hxx + +INCLUDES += -I$(top_builddir) -I$(top_builddir)/src diff --git a/simgear/sky/skydome.cxx b/simgear/sky/skydome.cxx new file mode 100644 index 00000000..a5aa97f4 --- /dev/null +++ b/simgear/sky/skydome.cxx @@ -0,0 +1,822 @@ +// skydome.cxx -- model sky with an upside down "bowl" +// +// Written by Curtis Olson, started December 1997. +// SSG-ified by Curtis Olson, February 2000. +// +// Copyright (C) 1997-2000 Curtis L. Olson - curt@flightgear.org +// +// This program is free software; you can redistribute it and/or +// modify it under the terms of the GNU General Public License as +// published by the Free Software Foundation; either version 2 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// +// $Id$ + + +#ifdef HAVE_CONFIG_H +# include +#endif + +#ifdef HAVE_WINDOWS_H +# include +#endif + +#include + +#include +#include + +#include +#include +#include + +// #include +// #include +// #include
+// #include