home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.msdos.programmer
- Path: sparky!uunet!cs.utexas.edu!torn!pulp.cs.laurentian.ca!paul
- From: paul@ramsey.cs.laurentian.ca (Paul Lalonde)
- Subject: Math experts! Need 3D rotation equation
- Message-ID: <1993Jan4.015421.11143@ramsey.cs.laurentian.ca>
- Organization: Dept. of Computer Science, Laurentian University, Sudbury, ON
- Date: Mon, 4 Jan 1993 01:54:21 GMT
- Lines: 18
-
- I'm working on a small 3D graphics program that takes vector images
- and rotates them about the XY axes.
-
- However, I decided to throw in some 3D rotation for additional effect,
- but I forget the rotation equation that applies to the z term!
-
- I know x = r*cos(angle) and y = r*sin(angle), but what is the equation
- to find the z term in 3R?
-
- Thanks for any help!
-
- Paul
-
- --
- ------------------------------------+-----------------------------------------
- Paul Lalonde, Dept. of CompSci | "C'mon baby, don't fear the Reaper"
- Laurentian University - Sudbury/ONT | -B.O.C.
- ----'83-Mustang-GT-5.0L--&--RUSH----+-----------------------------------------
-