Changeset 11739 for code/branches/Presentation_HS17_merge/src/modules/asteroidmining/SpicedAsteroidBelt.h
- Timestamp:
- Feb 12, 2018, 12:17:34 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS17_merge/src/modules/asteroidmining/SpicedAsteroidBelt.h
r11736 r11739 72 72 inline float getMineralDensity(){return this->mDensity;} 73 73 74 inline void setPosition( Vector3v){this->position = v;}75 inline Vector3getPosition(){return this->position;}74 inline void setPosition(const Vector3& v){this->position = v;} 75 inline const Vector3& getPosition(){return this->position;} 76 76 77 77 inline void setSegments(int s){this->segments = s;} 78 78 inline int getSegments(){return this->segments;} 79 79 80 inline void setMaxSize( int i){this->maxSize = i;}81 inline int getMaxSize(){return this->maxSize;}80 inline void setMaxSize(float i){this->maxSize = i;} 81 inline float getMaxSize(){return this->maxSize;} 82 82 83 inline void setMinSize( int i){this->minSize = i;}84 inline int getMinSize(){return this->minSize;}83 inline void setMinSize(float i){this->minSize = i;} 84 inline float getMinSize(){return this->minSize;} 85 85 86 86 inline void setRadius0(float r0){this->radius0 = r0;} 87 inline int getRadius0(){return this->radius0;}87 inline float getRadius0(){return this->radius0;} 88 88 89 89 inline void setRadius1(float r1){this->radius1 = r1;} 90 inline int getRadius1(){return this->radius1;}90 inline float getRadius1(){return this->radius1;} 91 91 92 92 inline void setFog(bool f){this->foggy = f;} … … 111 111 int segments; //!< Number of asteroidFields that get generated. 112 112 113 int maxSize; //!< Most obese asteroid possible114 int minSize; //!< Most meagre asteroid possible113 float maxSize; //!< Most obese asteroid possible 114 float minSize; //!< Most meagre asteroid possible 115 115 116 116 float radius0; //!< Inner radius
Note: See TracChangeset
for help on using the changeset viewer.