Changeset 8467 in orxonox.OLD for branches/water/src/world_entities/environments/mapped_water.h
- Timestamp:
- Jun 15, 2006, 2:51:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/water/src/world_entities/environments/mapped_water.h
r8037 r8467 32 32 private: 33 33 void setLightPosition(float x, float y, float z) { this->lightPos = Vector(x,y,z); }; 34 void set Height(float height);34 void setWaterPos(float x, float y, float z) { this->waterPos = Vector(x,y,z); }; 35 35 36 36 private: 37 float waterHeight; //!< y-coord of the Water 37 Vector waterPos; //!< position of the water 38 Vector lightPos; //!< position of the light that is used to render the reflection 38 39 39 40 float move; //!< textures coords, speeds, positions for the shaded textures.... … … 45 46 float kNormalMapScale; //!< 46 47 47 int textureSize; //!< size of the texture 48 Vector lightPos; 48 int textureSize; //!< height and width of the texture 49 49 Material mat; 50 50 Shader* shader; 51 Shader::Uniform* cam_uni; 51 Shader::Uniform* cam_uni; //!< uniform that is used for the camera position 52 52 53 53 };
Note: See TracChangeset
for help on using the changeset viewer.