Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2006, 11:42:28 AM (18 years ago)
Author:
patrick
Message:

water: the stuff is drawn twice now, there where some logical errors in the code. not yet drawn on the texture i'm afraid

File:
1 edited

Legend:

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

    r7700 r7740  
    2323    void activateReflection();
    2424    void deactivateReflection();
    25    
     25
    2626    void activateRefraction();
    2727    void deactivateRefraction();
    28    
     28
    2929    void draw() const;
    3030    void tick(float dt);
     
    3636    float           waterHeight;       //!< y-coord of the Water
    3737    Material        mat;
    38    
     38
    3939    Texture         texture;
     40    int             textureSize;       //!< size of the texture
    4041
    4142};
Note: See TracChangeset for help on using the changeset viewer.