
Post by vorpal on Jan 3, 2023 19:40:23 GMT
One thing I was thinking while writing up a new implementation of the ray tracer in Kotlin was that it doesn't really make sense to stop the recursive determinant calculations at a 2x2 matrix. There's no reason that you can't take this down to a 1x1 matrix: it seems more consistent to me in this way. (The determinant of a 1x1 matrix is just the value in the matrix, of course.)
The 2x2 matrix determinant calculation, when reducing it down to a 1x1 matrix, is equivalent in the way it functions when calculating any nxn matrix determinant for n >= 3.

