Hi,

void PrimitiveShapeVisitor::createCylinderBody(unsigned int numSegments, float 
radius, float height, const osg::Matrix& matrix)

has a bug.. it doesn't transform the last two points:

 // do last point by hand to ensure no round off errors.
        _functor.vertex(osg::Vec3(r,0.0f,topz));
        _functor.vertex(osg::Vec3(r,0.0f,basez));

missing "* matrix"

osg version 2.8.3

Thank you!

Cheers,
Peter

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=43827#43827





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to