Changeset 3416 in orxonox.OLD for orxonox/branches/dave/src/skysphere.h
- Timestamp:
- Feb 21, 2005, 5:09:15 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/dave/src/skysphere.h
r3412 r3416 1 /*! 2 \file skysphere.h 3 \brief Definition of the Skysphere, that handles the Display of an atmosphere of orxonox. 4 5 A SkySphere is always centered at the current working Camera, and will only obey the cameras 6 movment but not its rotation. 7 8 \todo self-rotation 9 \todo handle reference to parent-object 10 */ 11 1 12 #ifndef _SKYSPHERE_H 2 13 #define _SKYSPHERE_H 14 15 3 16 #include "importer/material.h" 4 17 #include "p_node.h" 5 18 #include "world_entity.h" 6 19 20 //! A Class to handle a SkySphere 7 21 class Skysphere: public PNode 8 22 { 9 23 10 24 11 private:12 13 float a,b,c;14 Material *sky;15 16 17 public:18 19 20 21 22 23 24 25 26 25 private: 26 GLUquadricObj *sphereObj; 27 float a,b,c; //!< Parameters to hold the Position of the SkySphere 28 Material *sky; //!< A Material for the Sky 29 30 31 public: 32 Skysphere(); 33 ~Skysphere(); 34 35 36 37 38 void updatePosition(float x,float y,float z); 39 void draw(); 40 27 41 28 42
Note: See TracChangeset
for help on using the changeset viewer.