- Timestamp:
- 03/18/08 16:37:38 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgautotransform/osgautotransform.cpp
r7967 r7968 29 29 #include <osg/Geometry> 30 30 31 #include <osgDB/WriteFile> 32 31 33 #include <osgText/Text> 32 34 … … 113 115 geom->setVertexArray(vertices); 114 116 geom->setColorArray(colors); 117 geom->setColorBinding(osg::Geometry::BIND_OVERALL); 115 118 geom->addPrimitiveSet(new osg::DrawArrays(GL_LINE_STRIP,0,vertices->size())); 116 119 … … 139 142 geom->setVertexArray(vertices); 140 143 geom->setColorArray(colors); 144 geom->setColorBinding(osg::Geometry::BIND_OVERALL); 141 145 geom->addPrimitiveSet(new osg::DrawArrays(GL_LINE_STRIP,0,vertices->size())); 142 146
