Changeset 8477 in orxonox.OLD for branches/water/src/world_entities/environments/mapped_water.h
- Timestamp:
- Jun 15, 2006, 4:08:15 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/water/src/world_entities/environments/mapped_water.h
r8473 r8477 34 34 void setLightPosition(float x, float y, float z) { this->lightPos = Vector(x,y,z); }; 35 35 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; }; 36 37 37 38 private: 38 39 Vector waterPos; //!< position of the water 40 float xWidth, zWidth; //!< size of the water quad 39 41 Vector lightPos; //!< position of the light that is used to render the reflection 40 42
Note: See TracChangeset
for help on using the changeset viewer.