|
From: kevin m. <ke...@su...> - 2004-07-22 23:50:25
|
can't you set the angle/axis directly on the AxisAngle class? I don't have the code handy to look at so I'm guessing... there's probably a setter or a constructor for this... *--*---*---*----*-----*------*------*-----*----*---*---*--* Kevin Meinert /_/ home - http://www.vrsource.org/~kevin \ / music - http://www.subatomicglue.com \/ __ \/ \__ \_\ > Hello, > I'm using gmtl(specifically, your > AxisAngle class). > Currently, I find gmtl's method of > rotating axis component of AxisAngle > representation inconvenient. > I have to extract Vec from > AxisAngle, build a rotation matrix, > multiply Vec by it and use setAxis > to set the axis component. I have to > do it even if I need rotation only > around one axis. > It would be nice if I could write > like this: > AxisAngle aa; float xangle; > gmtl::setRotX(aa, xangle); > Or maybe I just don't understand > something about Axis-Angle > representation? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click > _______________________________________________ > ggt-devel mailing list > ggt...@li... > https://lists.sourceforge.net/lists/listinfo/ggt-devel > |