Hello Everybody,

drawing a plane- Is the following code-snippet the correct way for drawing a
plane

*  osg::Geode* plane=new osg::Geode;*
*    osg::InfinitePlane* p = new osg::InfinitePlane;*
*    p->set(osg::Vec3d(1,0,0),*
*           osg::Vec3d(0,0,0));*
*    plane->addDrawable(new osg::ShapeDrawable(p));*

I am unable to see the plane...
Can anybody help?
Thanks,
Sunil.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to