Changeset 8947 in orxonox.OLD for branches/mountain_lake/src/lib/graphics/effects/cloud_effect.h
- Timestamp:
- Jun 30, 2006, 11:03:53 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mountain_lake/src/lib/graphics/effects/cloud_effect.h
r8911 r8947 50 50 virtual void deactivate(); 51 51 52 inlinevoid activateCloud() {52 void activateCloud() { 53 53 this->activate(); 54 54 } 55 56 inline void deactivateCloud() { 55 void deactivateCloud() { 57 56 this->deactivate(); 58 57 } 59 58 60 inlinevoid setCloudOption(const std::string& option) {59 void setCloudOption(const std::string& option) { 61 60 if (option == "activate") 62 61 this->cloudActivate = true; 63 62 } 64 63 65 inlinevoid setAnimationSpeed(float speed) {64 void setAnimationSpeed(float speed) { 66 65 this->animationSpeed = speed; 67 66 } 68 67 69 inlinevoid setCloudScale(float scale) {68 void setCloudScale(float scale) { 70 69 this->scale = scale; 71 70 } 72 71 73 inlinevoid setCloudColor(float colorX, float colorY, float colorZ) {72 void setCloudColor(float colorX, float colorY, float colorZ) { 74 73 this->cloudColor = Vector(colorX, colorY, colorZ); 75 74 } 76 75 77 inlinevoid setSkyColor(float colorX, float colorY, float colorZ) {76 void setSkyColor(float colorX, float colorY, float colorZ) { 78 77 this->skyColor = Vector(colorX, colorY, colorZ); 79 78 } 80 79 81 inlinevoid setPlanetRadius(float planetRadius) {80 void setPlanetRadius(float planetRadius) { 82 81 this->planetRadius = planetRadius; 83 82 } 84 83 85 inlinevoid setAtmosphericRadius(float atmosphericRadius) {84 void setAtmosphericRadius(float atmosphericRadius) { 86 85 this->atmosphericRadius = atmosphericRadius; 87 86 } 88 87 89 inlinevoid setDivisions(int divs) {88 void setDivisions(int divs) { 90 89 this->divs = divs; 91 90 }
Note: See TracChangeset
for help on using the changeset viewer.