Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 15, 2006, 4:08:15 PM (19 years ago)
Author:
stefalie
Message:

water: widths of the water quad are saved in the xml file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/water/src/world_entities/environments/mapped_water.h

    r8473 r8477  
    3434    void setLightPosition(float x, float y, float z) { this->lightPos = Vector(x,y,z); };
    3535    void setWaterPos(float x, float y, float z) { this->waterPos = Vector(x,y,z); };
     36    void setWaterSize(float x, float z) { this->xWidth = x; this->zWidth = z; };
    3637
    3738  private:
    3839    Vector              waterPos;                   //!< position of the water
     40    float               xWidth, zWidth;             //!< size of the water quad
    3941    Vector              lightPos;                   //!< position of the light that is used to render the reflection
    4042
Note: See TracChangeset for help on using the changeset viewer.