|
From: Allen B. <al...@us...> - 2003-02-21 21:21:21
|
allenb 2003/02/21 13:21:21 PST
Modified files:
modules/GMTL ChangeLog
modules/GMTL/gmtl Generate.h Matrix.h
Log:
Bug fixed: setDirCos and makeDirCos computed the incorrect matrix
This fixes a bug where the direction cosine code was incorrectly computing the matrix. It computed the inverse of the correct matrix.
This change also adds a test that checks for correct behavior of this method and removes a previous test that is invalid since it just checked
to see that the (faulty) implementation did exactly what the implementation did. (ie. it didn't actually test for behavior, it just tested the
implementation).
CVS: ----------------------------------------------------------------------
Revision Changes Path
1.63 +3 -0 GGT/modules/GMTL/ChangeLog
1.66 +20 -12 GGT/modules/GMTL/gmtl/Generate.h
1.24 +3 -2 GGT/modules/GMTL/gmtl/Matrix.h
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/ChangeLog.diff?r1=1.62&r2=1.63&diff_format=l
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/gmtl/Generate.h.diff?r1=1.65&r2=1.66&diff_format=l
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggt/GGT/modules/GMTL/gmtl/Matrix.h.diff?r1=1.23&r2=1.24&diff_format=l
|