|
From: Kevin M. <sub...@us...> - 2002-02-28 15:06:33
|
subatomic 2002/02/28 07:06:29 PST
Modified files:
modules/GMTL/gmtl QuatOps.h
Log:
increased performance of operator*( quat, quat) by 33%
this in effect increased performance of Xforms xform(quat,vec) and operator*(q,v) by 12% for
floating (32 and 64), and by 30% for integer types.
did this with return value optimization. previously this func was using mult(), which needed a
temporary to prevent aliasing. operator* has no aliasing problems, so could be optimized...
Revision Changes Path
1.4 +11 -6 GGT/modules/GMTL/gmtl/QuatOps.h
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/gmtl/QuatOps.h.diff?r1=1.3&r2=1.4&diff_format=l
|