|
From: Kevin M. <sub...@us...> - 2002-03-10 19:05:00
|
subatomic 2002/03/10 11:04:59 PST
Modified files:
modules/GMTL/gmtl Xforms.h
Log:
make precondition on xform that quat needs to be normalized (since we're
using conj instead of invert). this makes xform only work with rotation
quats... not sure if this is good, but I can't think of a place in 3D VR
or games that would need a non rotation quat to xform a vec... this may
bite someone later... maybe we need two xforms? one fast, and one slow?
this reminds me of how we keep state in the matrix to select the fastest
operation... might be needed for quat...
Revision Changes Path
1.17 +17 -29 GGT/modules/GMTL/gmtl/Xforms.h
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/gmtl/Xforms.h.diff?r1=1.16&r2=1.17&diff_format=l
|