Re: A89: Re: 3D rotation of plots


[Prev][Next][Index][Thread]

Re: A89: Re: 3D rotation of plots




So how would I do this without matricies?  Just rotating around one axis is easy, but how would I
rotate around two axises? (sp?)

-Miles Raymond      EML: m_rayman@bigfoot.com
ICQ: 13217756       IRC: Killer2        AIM: MRayMan
http://www.bigfoot.com/~m_rayman/

-----Original Message-----
From: Nate Mueller <nlmueller@students.wisc.edu>
To: assembly-89@lists.ticalc.org <assembly-89@lists.ticalc.org>
Date: Wednesday, January 13, 1999 7:01 PM
Subject: Re: A89: Re: 3D rotation of plots


>>x'=1*x + cosT*x + 0*y + 0*y + 0*z + sinT*z
>>y'=0*x + 0*x + cosR*y + 1*y + sinR*z + 0*z
>>z'=0*x + -sinT*x + -sinR*y + 0*y + cosR*z + cosT*z
>
>No it wouldn't work.  You are applying both rotations to the origional
>coords and then adding the two results.  You need to perform the second
>rotation to the result of the first.  The addition only works with matrixs.
>
> --Nate


Follow-Ups: