Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2007, 5:42:26 PM (17 years ago)
Author:
snellen
Message:

planet rotation now xml-loadable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/environments/planet.h

    r10618 r10653  
    3131  void setCloudTexture(const std::string& textureName);
    3232  void setCloudRotation(float rotationSpeed);
     33  void setPlanetRotationSpeed(float rotationSpeed){ this->rotSpeedPlanet = rotationSpeed;}
     34  void setPlanetRotationAxis(float x, float y, float z){ this->rotVecPlanet = Vector(x,y,z);}
    3335
    3436
     
    4850  float           rotSpeedCloud;   //! cloud rotation speed
    4951  float           rotSpeedPlanet;  //! planet rotation speed
     52  Vector          rotVecPlanet;    //! planet rotation vector
    5053  float           size;            //!< Size of the Planet. This should match the frustum maximum range.
    5154  float           textureSize;     //!< this is the length of a texture (assumes a square texture)
Note: See TracChangeset for help on using the changeset viewer.