|
From: Kevin M. <sub...@us...> - 2002-03-09 19:50:47
|
subatomic 2002/03/09 11:50:46 PST
Modified files:
modules/GMTL/gmtl Xforms.h
Log:
the last commit of this file accidently checked in something I was trying.
because it is faster, use conj instead of invert in xform(quat,vec) and
operator*(quat,vec). I've run tests, and using conj or invert both yield
the same results (cool), so use the faster one.
somehow I didn't trust my previous commit where I said to use conj,
but I've retested it, and I was right. Now there is a test in the
test suite for it (to do the raw calculation of quat*vec using conj or
invert comparing if they equal, which they should.)
Revision Changes Path
1.14 +22 -37 GGT/modules/GMTL/gmtl/Xforms.h
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/gmtl/Xforms.h.diff?r1=1.13&r2=1.14&diff_format=l
|