Changeset 8287 in orxonox.OLD for branches/water
- Timestamp:
- Jun 8, 2006, 6:30:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/water/src/world_entities/environments/mapped_water.cc
r8268 r8287 153 153 void MappedWater::draw() const 154 154 { 155 glMatrixMode(GL_MODELVIEW); 156 155 157 glPushMatrix(); 156 158 glTranslatef(0,this->waterHeight,0); … … 164 166 Vector pos = State::getCameraNode()->getAbsCoor(); 165 167 cam_uni->set(pos.x, pos.y, pos.z, 1.0f); 168 169 //glDisable(GL_BLEND); 166 170 167 171 glBegin(GL_QUADS);
Note: See TracChangeset
for help on using the changeset viewer.