Changeset 3416 in orxonox.OLD for orxonox/branches/dave/src/skysphere.cc
- Timestamp:
- Feb 21, 2005, 5:09:15 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/dave/src/skysphere.cc
r3411 r3416 1 1 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 3 18 skybox.h similar to player.h 4 19 With that said, things should be clear:) … … 17 32 using namespace std; 18 33 34 /** 35 \brief Standart Constructor 36 \todo second Constructor with char* input for different skies 37 */ 19 38 Skysphere::Skysphere() 20 39 { … … 25 44 sky->setDiffuseMap("../data/pictures/sky-replace.jpg"); 26 45 sky->setIllum(3); 46 // sky->setAmbient(1,1,1); 27 47 28 48 } 29 49 50 /** 51 \brief default destructor 52 */ 30 53 Skysphere::~Skysphere() 31 54 { … … 35 58 } 36 59 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 */ 37 68 void Skysphere::updatePosition(float x,float y,float z) 38 69 { … … 42 73 } 43 74 75 /** 76 \brief draws the Skysphere 44 77 78 This part is normally precessed in the "Painting Phase". 79 */ 80 45 81 void Skysphere::draw() 46 82 {
Note: See TracChangeset
for help on using the changeset viewer.