Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2010, 4:10:54 PM (14 years ago)
Author:
gionc
Message:

updated StarCreator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/skybox2/src/modules/designtools/CreateStars.h

    r6861 r6936  
    3131
    3232#include "graphics/Billboard.h"
    33  
     33
    3434 
    3535namespace orxonox
     
    6161            }
    6262
     63            void setColour(const orxonox::ColourValue& colour) {
     64                this->colour_ = colour;
     65            }
     66
     67            ColourValue& getColour() {
     68                return this->colour_;
     69            }
     70
     71            void setAlpha(float alpha) {
     72                this->alpha_ = alpha;
     73            }
     74
     75            float getAlpha() {
     76                return this->alpha_;
     77            }
     78
     79            void setColourDiff(float colourDiff) {
     80                this->colourDiff_ = colourDiff;
     81            }
     82
     83            float getColourDiff() {
     84                return this->colourDiff_;
     85            }
     86
     87            void setAlphaDiff(float alphaDiff) {
     88                this->alphaDiff_ = alphaDiff;
     89            }
     90
     91            float getAlphaDiff() {
     92                return this->alphaDiff_;
     93            }
     94
     95            void setRadiusDiff(float radiusDiff) {
     96                this->radiusDiff_ = radiusDiff;
     97            }
     98
     99            float getRadiusDiff() {
     100                return this->radiusDiff_;
     101            }
     102
    63103            void setRadius(unsigned int dist) {
    64104                this->radius_ = dist;
     
    75115            int numStars_;
    76116            std::string material_;
     117            orxonox::ColourValue colour_;
    77118            std::vector<Billboard*> billboards_;
    78             unsigned int radius_;
     119            float radius_;
     120            float alpha_;
     121            float colourDiff_;
     122            float alphaDiff_;
     123            float radiusDiff_;
    79124           
    80125    };
Note: See TracChangeset for help on using the changeset viewer.