|
@@ -106,15 +106,14 @@ zAxis = (c, f, i)
|
|
[link:https://en.wikipedia.org/wiki/Row-_and_column-major_order#Column-major_order column-major] format.
|
|
[link:https://en.wikipedia.org/wiki/Row-_and_column-major_order#Column-major_order column-major] format.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
- <h3>[method:this getInverse]( [param:Matrix3 m], [param:Boolean throwOnDegenerate] )</h3>
|
|
|
|
|
|
+ <h3>[method:this getInverse]( [param:Matrix3 m] )</h3>
|
|
<p>
|
|
<p>
|
|
- [page:Matrix3 m] - the matrix to take the inverse of.<br />
|
|
|
|
- [page:Boolean throwOnDegenerate] - (optional) If true, throw an error if the matrix is degenerate (not invertible).<br /><br />
|
|
|
|
|
|
+ [page:Matrix3 m] - the matrix to take the inverse of.<br /><br />
|
|
|
|
|
|
Set this matrix to the [link:https://en.wikipedia.org/wiki/Invertible_matrix inverse] of the passed matrix [page:Matrix3 m],
|
|
Set this matrix to the [link:https://en.wikipedia.org/wiki/Invertible_matrix inverse] of the passed matrix [page:Matrix3 m],
|
|
using the [link:https://en.wikipedia.org/wiki/Invertible_matrix#Analytic_solution analytic method].
|
|
using the [link:https://en.wikipedia.org/wiki/Invertible_matrix#Analytic_solution analytic method].
|
|
|
|
|
|
- If [page:Boolean throwOnDegenerate] is not set and the matrix is not invertible, set this to the 3x3 identity matrix.
|
|
|
|
|
|
+ You can not invert a matrix with a determinant of zero. If you attempt this, the method returns a zero matrix instead.
|
|
</p>
|
|
</p>
|
|
|
|
|
|
<h3>[method:this getNormalMatrix]( [param:Matrix4 m] )</h3>
|
|
<h3>[method:this getNormalMatrix]( [param:Matrix4 m] )</h3>
|