Re: [Dev-C++] Rotation and evolution.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: A. Jans-B. <jan...@wx...> - 2001-03-01 12:45:41
|
Standard problem with standard solution: 1 - store cube's position in [x,y,z] 2 - translate cube to origin (0,0,0) 3 - rotate cube as desired 4 - rotate [x,y,z,] as desired 5 - translate cube back to new [x,y,z,] 6 - draw cube there is a FAQ and a newsgroup about graphic algorithms. ---8<--- Stein Nygaard wrote: > Thanks for all your help, it's great! > > I've been reading toturials on MAX's site, and learned alot... but, what do I > do if I want to make a cube that rotates like the earth? Like, around it self, > and at the same time around some distant origin. > > Thanks a million! :) > > ------------- > #define stone > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/lists/listinfo/dev-cpp-users |