[osg-users] how to draw a half line?

Cory Riddell cory at codeware.com
Mon Mar 23 12:06:47 PDT 2009

Right now I'm drawing some line segments like this:
  osg::Geometry* geo = ...;
  // define some vertices
  // draw lines
  geo->addPrimitiveSet(new osg::DrawArrays(osg::PrimitiveSet::LINES, 0,

Is there a way to draw a line that goes off to infinity in one direction?

Cory Riddell

More information about the osg-users mailing list