Rotating a point about an axis or three.

BlitzMax Forums/BlitzMax Beginners Area/Rotating a point about an axis or three.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Ok I have created a demo to demonstrate what I do know. It will show rotation along the three demensions. I need to know how to plot a point from 3 given distances from each axis and an angle away from each axis. There HAS to be a formula for 3D plotting somebody had to write 3D software originally.
Lets say i have a point in the form of x,y,z and angles a1,a2,a3 how would I plot it?

What I can show so far:
http://www.ex0.biz/uploads/1106/1164264799.zip