Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

orxonox/branches/dave: injected Doxygen-tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/dave/src/skysphere.cc

    r3411 r3416  
    11
    2 /* Created by Dave, this file is actually quite similar to player.cc and so is
     2/*
     3   orxonox - the future of 3D-vertical-scrollers
     4
     5   Copyright (C) 2004 orx
     6
     7   This program is free software; you can redistribute it and/or modify
     8   it under the terms of the GNU General Public License as published by
     9   the Free Software Foundation; either version 2, or (at your option)
     10   any later version.
     11
     12   ### File Specific:
     13   main-programmer: David Gruetter
     14   co-programmer: ...
     15
     16
     17    Created by Dave, this file is actually quite similar to player.cc and so is
    318    skybox.h similar to player.h
    419    With that said, things should be clear:)
     
    1732using namespace std;
    1833
     34/**
     35   \brief Standart Constructor
     36   \todo second Constructor with char* input for different skies
     37*/
    1938Skysphere::Skysphere()
    2039
     
    2544    sky->setDiffuseMap("../data/pictures/sky-replace.jpg");
    2645    sky->setIllum(3);
     46    //    sky->setAmbient(1,1,1);
    2747
    2848}
    2949
     50/**
     51   \brief default destructor
     52*/
    3053Skysphere::~Skysphere()
    3154{
     
    3558}
    3659
     60/**
     61   \brief updates the position of the Skysphere
     62   \param x the x-coordinate of the Center of the Sphere
     63   \param y the y-coordinate of the Center of the Sphere
     64   \param z the z-coordinate of the Center of the Sphere
     65
     66   This is normally done in the update-phase of world, so the Skysphere is always centered at the Camera.
     67*/
    3768void Skysphere::updatePosition(float x,float y,float z)
    3869{
     
    4273}
    4374
     75/**
     76   \brief draws the Skysphere
    4477
     78   This part is normally precessed in the "Painting Phase".
     79*/
     80   
    4581void Skysphere::draw()
    4682{
Note: See TracChangeset for help on using the changeset viewer.