1 //------------------------------------------------------------------------------
2 // File : SkySceneLoader.hpp
3 //------------------------------------------------------------------------------
4 // SkyWorks : Copyright 2002 Mark J. Harris and
5 // The University of North Carolina at Chapel Hill
6 //------------------------------------------------------------------------------
7 // Permission to use, copy, modify, distribute and sell this software and its
8 // documentation for any purpose is hereby granted without fee, provided that
9 // the above copyright notice appear in all copies and that both that copyright
10 // notice and this permission notice appear in supporting documentation.
11 // Binaries may be compiled with this software without any royalties or
14 // The author(s) and The University of North Carolina at Chapel Hill make no
15 // representations about the suitability of this software for any purpose.
16 // It is provided "as is" without express or
19 * @file SkySceneLoader.hpp
21 * Definition of a simple class for loading scenes into SkyWorks.
23 #ifndef __SKYSCENELOADER_HPP__
24 #define __SKYSCENELOADER_HPP__
27 #include "SkyUtil.hpp"
29 #include <simgear/math/point3d.hxx>
31 //------------------------------------------------------------------------------
33 * @class SkySceneLoader
34 * @brief A simple scene loader for SkyWorks scenes.
36 * Loads a scene using the Load() method, which is passed the filename of a
37 * file containing a SkyArchive describing the scene.
45 bool Load(std::string filename);
47 void Set_Cloud_Orig( Point3D *posit );
50 void Update( sgMat4 viewmat, Point3D *posit );
52 void Resize( double w, double h);
58 #endif //__SKYSCENELOADER_HPP__