calculates the inverse of an ortho-normal matrix. * The resulting matrix is the inverse of the supplied matrix. * The supplied matrix has to be an ortho-normal matrix, e.g. * describe a regular object transformation. * * [icon:attention] For matrices that are not ortho-normal * use the general inverse `vmath.inv()` instead. * * @name vmath.ortho_inv * @
| 1782 | * ``` |
| 1783 | */ |
| 1784 | static int OrthoInverse(lua_State* L) |
| 1785 | { |
| 1786 | const Matrix4* m = CheckMatrix4(L, 1); |
| 1787 | Matrix4 mi = dmVMath::OrthoInverse(*m); |
| 1788 | PushMatrix4(L, mi); |
| 1789 | return 1; |
| 1790 | } |
| 1791 | |
| 1792 | /*# calculates the dot-product of two vectors |
| 1793 | * |
nothing calls this directly
no test coverage detected