Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: (3D) - Rotating a point about an axis
Posted:
Jan 13, 2000 5:15 PM
|
|
"Zdislav V. Kovarik" wrote: > > In article <387E2370.3483E821@dunvegan1.demon.co.uk>, > Paul Richards <pauldoo@dunvegan1.demon.co.uk> wrote: > :Hi, > :I'm writing a program but I've got stuck. > : > :I've got to rotate the point (a, b, c) around an axis which runs through > :the point (d, e, f) and the origin. The point should be rotated around > :this axis by the angle g. Does anyone know how to do this? > : > :I would also be greateful if you explained your final answer because I'm > :only writing this program in order to learn. [snip really complicated bit]
WHOOSH!!! That went way over my head. :)
I don't think I know enough math to understand that. Any chance you could rewrite it in a simpler form? :)
maybe a bit like some sort of psudocode:
[this is utter crap but just so you get the idea] num_a=a*b+e*f num_b=<blah>*num_a*g <blah> . . . x=<blah> y=<blah> z=<blah>
Where (x, y, z) would be the final point?
Sorry to be annoying but I really didn't understand what you had written. -- Paul Richards (Pauldoo) - http://www.pauldoo.co.uk
I've not run any Microsoft code for 48 days. How about you?
|
|
|
|