Changeset 10653 in orxonox.OLD for trunk/src/world_entities/environments/planet.cc
- Timestamp:
- May 10, 2007, 5:42:26 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/environments/planet.cc
r10618 r10653 47 47 48 48 this->rotSpeedPlanet = 0.0; 49 this->rotVecPlanet = Vector(0,1,0); 49 50 this->rotSpeedCloud = 0.0; 50 51 this->bClouds = false; … … 85 86 LoadParam(root, "cloud-rotation", this, Planet, setCloudRotation) 86 87 .describe("Sets the cloud rotation speed"); 88 89 LoadParam(root, "planet-rotation-speed", this, Planet, setPlanetRotationSpeed) 90 .describe("Sets the planet rotation speed"); 91 92 LoadParam(root, "planet-rotation-axis", this, Planet, setPlanetRotationAxis) 93 .describe("Sets the planet rotation axis"); 87 94 } 88 95 … … 132 139 { 133 140 if( dt != 0.) 134 this->shiftDir( Quaternion( this->rotSpeedPlanet * dt, Vector(1,0,0)));141 this->shiftDir( Quaternion( this->rotSpeedPlanet * dt, this->rotVecPlanet)); 135 142 } 136 143
Note: See TracChangeset
for help on using the changeset viewer.