Hi,

 I have drawn a geometry normal to XY-plane and I would like to transform it in 
such a way that it must be normal to YZ-plane.I did rotation for 90 degree 
about X-axis. Will it do what I wanted to do?  The corresponding code would 
seems to be ,

......
....
osg::Matrix 
rot=osg::Matrix::rotate(osg::DegreesToRadians(90.),osg::Vec3f(1.0,0.0,0.0));
....
..



Thank you!

Cheers,
Akilan

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to