Changeset 3463 for trunk/packages/vizservers/nanovis/HeightMap.cpp
- Timestamp:
- Mar 6, 2013, 8:39:42 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanovis/HeightMap.cpp
r3452 r3463 11 11 double HeightMap::valueMin = 0.0; 12 12 double HeightMap::valueMax = 1.0; 13 14 using namespace nv::graphics; 13 15 14 16 HeightMap::HeightMap() : … … 45 47 46 48 void 47 HeightMap::render( graphics::RenderContext *renderContext)49 HeightMap::render(RenderContext *renderContext) 48 50 { 49 51 glPushAttrib(GL_ENABLE_BIT | GL_POLYGON_BIT | GL_LIGHTING_BIT); 50 52 51 if (renderContext->getCullMode() == graphics::RenderContext::NO_CULL) {53 if (renderContext->getCullMode() == RenderContext::NO_CULL) { 52 54 glDisable(GL_CULL_FACE); 53 55 } else {
Note: See TracChangeset
for help on using the changeset viewer.