Changeset 8617 in orxonox.OLD for branches/water/src/world_entities/environments/mapped_water.h
- Timestamp:
- Jun 20, 2006, 12:58:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/water/src/world_entities/environments/mapped_water.h
r8484 r8617 44 44 void setWaterPos(float x, float y, float z) { this->waterPos = Vector(x,y,z); }; 45 45 void setWaterSize(float x, float z) { this->xWidth = x; this->zWidth = z; }; 46 void setWaterUV(float uv) { this->g_WaterUV = uv; }; 47 void setWaterFlow(float flow) { this->g_WaterFlow = flow; }; 46 void setWaterUV(float uv) { this->waterUV = uv; }; 47 void setWaterFlow(float flow) { this->waterFlow = flow; }; 48 void setNormalMapScale(float scale) { this->kNormalMapScale = scale; }; 48 49 49 50 private: … … 56 57 57 58 float move; //!< textures coords, speeds, positions for the shaded textures.... 58 float move2; //!< 59 float g_WaterUV; //!< 60 float g_WaterFlow; //!< 61 float refrUV; //!< 62 float normalUV; //!< 63 float kNormalMapScale; //!< 59 float move2; 60 float waterUV; //!< size of the waves 61 float waterFlow; //!< speed of the water 62 float normalUV; 63 float kNormalMapScale; 64 64 65 65 int textureSize; //!< height and width of the texture … … 67 67 Shader* shader; 68 68 Shader::Uniform* cam_uni; //!< uniform that is used for the camera position 69 70 //FogEffect* fog;71 72 69 }; 73 70 74 #endif /* _MAPPED_WATER_H */71 #endif
Note: See TracChangeset
for help on using the changeset viewer.