[osg-users] how to draw a half line?
robert.osfield at gmail.com
Mon Mar 23 13:05:17 PDT 2009
I have never tried it but you might be able to experiment with a Vec4Array
for coordinates and set the w value to 0, and the xyz to the direction
On Mon, Mar 23, 2009 at 7:06 PM, Cory Riddell <cory at codeware.com> wrote:
> 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
> osg-users mailing list
> osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users