Brilliant, using the cross product just like with normals that's a much nicer approach then just tossing in a '1' somewhere.
I'm going to change it so if ether (exactly) one row or col is all zero's it fills it with the crossproduct of the other two rows/cols.
That should take care of most, if not all, det==0 problems.
Thank you very much.
I'm going to change it so if ether (exactly) one row or col is all zero's it fills it with the crossproduct of the other two rows/cols.
That should take care of most, if not all, det==0 problems.
Thank you very much.