Changeset 3519 in orxonox.OLD for orxonox/branches/trackManager/src/world_entities/skysphere.h
- Timestamp:
- Mar 12, 2005, 1:26:46 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/trackManager/src/world_entities/skysphere.h
r3498 r3519 15 15 /* INCLUDES */ 16 16 #include "p_node.h" 17 #include "world_entity.h" 17 18 18 19 /* FORWARD DEFINITION */ … … 21 22 22 23 //! A Class to handle a SkySphere 23 class Skysphere : public PNode24 class Skysphere : public WorldEntity 24 25 { 25 26 … … 32 33 void setTexture(char* fileName); 33 34 34 void updatePosition(Vector sphereCenter); 35 void draw(); 35 virtual void draw(); 36 36 37 37 private: 38 38 GLUquadricObj *sphereObj; //!< A Placeholder for the SkySphere. 39 39 Material *skyMaterial; //!< A Material for the SkySphere. 40 Vector sphereCenter; //!< Center of the SkySphere.41 40 float sphereRadius; //!< Radius of the SkySphere. This should match the frustum maximum range. 42 43 41 44 42 void initialize(char* fileName); 45 43 };
Note: See TracChangeset
for help on using the changeset viewer.