cgmath icon indicating copy to clipboard operation
cgmath copied to clipboard

Special method for combined invert + transpose for matrices

Open Panzerschrek opened this issue 3 years ago • 0 comments

Sometimes it's necessary to calculate inverse + transpose matrix, to calculate proper normals matrix, for example. There are (of course) methods to do this. But (i presume) it is not an optimal solution, because invert methods already contain transpose operation. I suggest to add methods like invert_and_transpose, equivalent to invert but without transpose in last step.

Panzerschrek avatar Jul 25 '22 19:07 Panzerschrek