Changeset 43 for Swollen/swollen/watersurface.cpp
- Timestamp:
- Dec 10, 2004, 10:16:42 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Swollen/swollen/watersurface.cpp
r36 r43 21 21 #define DEF_WATER_COLOUR 0, 0, 0.5, 1 // R, G, B, Alpha (blue) 22 22 #define DEF_WATER_TRANSPARENCY 0.1 // 0=opaque, 1=transparent 23 #define DEF_ZOFFSET 0.0 123 #define DEF_ZOFFSET 0.00 24 24 25 25 // constructor … … 100 100 101 101 // vertical (z) offset to eliminate potential zbuffer problems with bedslope 102 for( unsigned int iv=0; iv < vertices.get()->size(); iv++ )103 vertices.get()->at(iv) += osg::Vec3f( 0.0, 0.0, _zoffset );102 //for( unsigned int iv=0; iv < vertices.get()->size(); iv++ ) 103 // vertices.get()->at(iv) += osg::Vec3f( 0.0, 0.0, _zoffset ); 104 104 105 105 _geom->setVertexArray( vertices.get() );
Note: See TracChangeset
for help on using the changeset viewer.