Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10387 in orxonox.OLD for trunk/src/world_entities/planet.h


Ignore:
Timestamp:
Jan 26, 2007, 6:22:33 PM (19 years ago)
Author:
patrick
Message:

removed the segfault for npcs, adding clouds to planets

File:
1 edited

Legend:

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

    r9869 r10387  
    2828  /** assumes jpg as input-format */
    2929  void setTexture(const std::string& textureName);
     30  void setCloudTexture(const std::string& textureName);
     31
    3032
    3133
     
    3537
    3638 private:
    37   Material        material;        //!< Materials for the Planet. sorted by number (0-5) top, bottom, left, right, front, back
    38   Texture*        texture;         //!< Textures for the CubeMap.
     39  Material        materialPlanet;  //!< Materials for the Planet. sorted by number (0-5) top, bottom, left, right, front, back
     40  Material        materialCloud;   //!< the material for the cloud surrounding the planet
     41
     42  Model*          cloudModel;      //!< the model for the cloud
     43
    3944
    4045  float           size;            //!< Size of the Planet. This should match the frustum maximum range.
Note: See TracChangeset for help on using the changeset viewer.