Show
Ignore:
Timestamp:
11/26/14 14:36:28 (less than one hour ago)
Author:
robert
Message:

Moved osgTerrain::GeometryPool? from osgterrain example into osgTerrain NodeKit?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgpick/osgpick.cpp

    r13376 r13471  
    197197        colors->push_back(osg::Vec4(0.8-0.1*i,0.1*i,0.2*i, 1.0)); 
    198198        quad->setColorArray(colors); 
    199         quad->setColorBinding(osg::Geometry::BIND_PER_PRIMITIVE); 
     199        quad->setColorBinding(osg::Geometry::BIND_OVERALL); 
    200200        (*vertices)[0]=position; 
    201201        (*vertices)[1]=position+dx;