[osg-users] Rotate point in 3d space?

2011-12-17 Thread Paul Griffiths
Hi, Lets say i have a point: float x = 20; float y = 5; float z = 3; how do I rotate the point using point 0,0,0 as the pivot? Say I wish to rotate it by 45deg? It's for some math to set a clip plane's 3 points. ... Thank you! Cheers, Paul -- Read this topic online

Re: [osg-users] Rotate point in 3d space?

2011-12-17 Thread Gordon Tomlinson
I suggest you look at these http://www.osgbooks.com/books/osg_qs.html https://www.packtpub.com/openscenegraph-3-0-beginners-guide/book __ Gordon Tomlinson www.photographybyGordon.com www.gordontomlinson.com

Re: [osg-users] Rotate point in 3d space?

2011-12-17 Thread Garth D
Hi Paul, A good search term in Google that will give you a lot of useful info is: 3d rotation. You'll also have to give some thought as to which axis you are rotating around. Good luck. :) Garth On 17/12/11 22:52, Paul Griffiths wrote: Hi, Lets say i have a point: float x = 20; float y