Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3416 in orxonox.OLD for orxonox/branches/dave/src/skysphere.h


Ignore:
Timestamp:
Feb 21, 2005, 5:09:15 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/dave: injected Doxygen-tags

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
    112#ifndef _SKYSPHERE_H
    213#define _SKYSPHERE_H
     14
     15
    316#include "importer/material.h"
    417#include "p_node.h"
    518#include "world_entity.h"
    619
     20//! A Class to handle a SkySphere
    721class Skysphere: public PNode
    822{
    923
    1024
    11 private:
    12     GLUquadricObj *sphereObj;
    13     float a,b,c;
    14     Material *sky;
    15    
    16 
    17 public:
    18    Skysphere();
    19    ~Skysphere();
    20    
    21    
    22    
    23    
    24    void updatePosition(float x,float y,float z);
    25    void draw();
    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 
    2741   
    2842   
Note: See TracChangeset for help on using the changeset viewer.