[Fluxus] Rotation Matrix issue
Dave Griffiths
dave at pawfal.org
Sat Mar 21 15:10:59 PDT 2009
On Sat, 2009-03-21 at 22:08 +0000, Dave Griffiths wrote:
> On Fri, 2009-03-20 at 22:06 +0000, evan.raskob[ wrote:
> > It's great that you're going over this... that was on my list of things.
> > Also, adding a function to rotate vectors around an axis/angle would
> > be great to add. I really want to do this, but I'm fighting time
> > before a 3-week trip, so we'll see what happens.
>
> (concat (qtomatrix (qaxisangle (vector 0 1 0) 45)))
Ah sorry - rotating a vector:
(vtransform myvec (qtomatrix (qaxisangle (vector 0 1 0) 45)))
might do what you want
cheers,
dave
More information about the Fluxus
mailing list