Re: rotateing
- Posted by Patrick Barnes <mrtrick at gmail.com> Mar 03, 2005
- 496 views
On Tue, 01 Mar 2005 22:51:14 -0800, Hayden McKay <guest at rapideuphoria.com> wrote: > I stress again thanks.. > It should'nt be hard for me now to rotate a 3d coord arround an arbituary > axis! Wait... 3d coords are much more difficult. With a 2d system, you just have a single number, 'angle'. With a 3d system, you either need to use a quarternion or a 3x3 rotation/scaling matrix. Sounds horrible, but I would recommend the 3x3 matrix as it's a lot faster, and you can set things up so it rotates and scales in the same step. -- MrTrick