Changeset 3419 in orxonox.OLD for orxonox/trunk/src/skysphere.h
- Timestamp:
- Feb 22, 2005, 6:26:03 PM (20 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/skysphere.h
r3416 r3419 13 13 #define _SKYSPHERE_H 14 14 15 /* INCLUDES */ 16 #include "p_node.h" 15 17 16 #include "importer/material.h" 17 #include "p_node.h" 18 #include "world_entity.h" 18 /* FORWARD DEFINITION */ 19 class Material; 20 class Vector; 19 21 20 22 //! A Class to handle a SkySphere 21 23 class Skysphere: public PNode 22 24 { 23 24 25 25 private: 26 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 27 Vector sphereCenter; //!< Center of the Skysphere 28 Material *sky; //!< A Material for the Sky 30 29 31 30 public: 32 31 Skysphere(); 32 Skysphere(char* fileName); 33 33 ~Skysphere(); 34 35 36 37 38 void updatePosition(float x,float y,float z); 34 35 void updatePosition(Vector sphereCenter); 39 36 void draw(); 40 41 42 43 44 37 38 private: 39 void initialize(char* fileName); 45 40 }; 46 41
Note: See TracChangeset
for help on using the changeset viewer.