| 136 | } |
| 137 | |
| 138 | int LNLIB_MATRIX_get_inverse(Matrix4d_C m, Matrix4d_C* out_inverse) |
| 139 | { |
| 140 | LNLib::Matrix4d inv; |
| 141 | bool success = ToMatrix4d(m).GetInverse(inv); |
| 142 | if (success && out_inverse) { |
| 143 | *out_inverse = FromMatrix4d(inv); |
| 144 | } |
| 145 | return success ? 1 : 0; |
| 146 | } |
| 147 | |
| 148 | Matrix4d_C LNLIB_MATRIX_get_transpose(Matrix4d_C m) |
| 149 | { |
nothing calls this directly
no test coverage detected