dpawson@oracle.com (10/03/90)
Pardon me if this has been mentioned before but. . .
Last night I was playing with the matrix inversion routine from Glassner's
Graphics Gems, and I can't help but think there is a bug in the sample code.
The routine first calls
adjoint(in, out);
Then it finds the determinant to divide all elements of the adjoint matrix
by. But it does this:
det=Det4x4(out); /* Det4x4 may be wrong, but you know what I mean :-) */
Don't we instead want
det=Det4x4(in);
?
I am rather certain we do, given that 1) it makes sense that way, and even more
importantly 2) my program works if I do it that way :-)
Thanks,
Dave Pawson
dpawson@oracle.com