From 427f309aeab8afc80c3ced99ea03233033a1ea9e Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 16 Mar 2000 03:17:04 +0000 Subject: [PATCH] Complete overhaul of the sky/sun/moon/stars/planets. It is now an ssg model that get's inserted into the scene graph. --- simgear/sky/Makefile.am | 10 +- simgear/sky/{skydome.cxx => dome.cxx} | 378 +++---------------------- simgear/sky/{skydome.hxx => dome.hxx} | 40 +-- simgear/sky/{skymoon.cxx => moon.cxx} | 113 +++++--- simgear/sky/{skymoon.hxx => moon.hxx} | 56 +--- simgear/sky/{skysun.cxx => oursun.cxx} | 106 ++++--- simgear/sky/{skysun.hxx => oursun.hxx} | 108 +------ simgear/sky/sky.cxx | 117 ++++++++ simgear/sky/sky.hxx | 113 ++++++++ simgear/sky/sphere.cxx | 5 +- simgear/sky/sphere.hxx | 3 +- simgear/sky/stars.cxx | 177 ++++++++++++ simgear/sky/stars.hxx | 69 +++++ 13 files changed, 690 insertions(+), 605 deletions(-) rename simgear/sky/{skydome.cxx => dome.cxx} (56%) rename simgear/sky/{skydome.hxx => dome.hxx} (75%) rename simgear/sky/{skymoon.cxx => moon.cxx} (73%) rename simgear/sky/{skymoon.hxx => moon.hxx} (69%) rename simgear/sky/{skysun.cxx => oursun.cxx} (81%) rename simgear/sky/{skysun.hxx => oursun.hxx} (53%) create mode 100644 simgear/sky/sky.cxx create mode 100644 simgear/sky/sky.hxx create mode 100644 simgear/sky/stars.cxx create mode 100644 simgear/sky/stars.hxx diff --git a/simgear/sky/Makefile.am b/simgear/sky/Makefile.am index fe5d1b12..d71c6201 100644 --- a/simgear/sky/Makefile.am +++ b/simgear/sky/Makefile.am @@ -1,9 +1,11 @@ noinst_LIBRARIES = libSky.a libSky_a_SOURCES = \ - skydome.cxx skydome.hxx \ - skymoon.cxx skymoon.hxx \ - skysun.cxx skysun.hxx \ - sphere.cxx sphere.hxx + dome.cxx dome.hxx \ + moon.cxx moon.hxx \ + oursun.cxx oursun.hxx \ + sky.cxx sky.hxx \ + sphere.cxx sphere.hxx \ + stars.cxx stars.hxx INCLUDES += -I$(top_builddir) -I$(top_builddir)/src diff --git a/simgear/sky/skydome.cxx b/simgear/sky/dome.cxx similarity index 56% rename from simgear/sky/skydome.cxx rename to simgear/sky/dome.cxx index a834ada9..6f2a2c59 100644 --- a/simgear/sky/skydome.cxx +++ b/simgear/sky/dome.cxx @@ -1,4 +1,4 @@ -// skydome.cxx -- model sky with an upside down "bowl" +// dome.cxx -- model sky with an upside down "bowl" // // Written by Curtis Olson, started December 1997. // SSG-ified by Curtis Olson, February 2000. @@ -39,13 +39,7 @@ #include #include -// #include -// #include -// #include
-// #include