home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / msdos / programm / 11768 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.0 KB  |  28 lines

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