diff --git a/docs/api/math/Matrix3.html b/docs/api/math/Matrix3.html index 53036b864a0d2bd31ee834e9a4e0395632fd59e3..806ee0385b41ce90116a4f2fe188ded1ad5886f6 100644 --- a/docs/api/math/Matrix3.html +++ b/docs/api/math/Matrix3.html @@ -1,7 +1,7 @@ - + @@ -92,10 +92,10 @@ Sets this matrix as the normal matrix (upper left 3x3)of the passed [page:Matrix4 matrix4]. The normal matrix is the inverse transpose of the matrix *m*. -

[method:Matrix3 getInverse]([page:Matrix4 m], [page:Boolean throwOnInvertible]) [page:Matrix3 this]

+

[method:Matrix3 getInverse]([page:Matrix4 m], [page:Boolean throwOnDegenerate]) [page:Matrix3 this]

m -- [page:Matrix4]
- throwOnInvertible -- [Page:Boolean] If true, throw an error if the matrix is invertible. + throwOnDegenerate -- [Page:Boolean] If true, throw an error if the matrix is degenerate (not invertible).
Set this matrix to the inverse of the passed matrix. @@ -117,7 +117,7 @@

[method:Matrix3 identity]() [page:Matrix3 this]

Resets this matrix to identity.

- + 1, 0, 0
0, 1, 0
0, 0, 1
diff --git a/src/math/Matrix3.js b/src/math/Matrix3.js index fae7f564e1f898328c7b07485821140de270d944..ca540a32b9363314a52d30ef615cbc6161ce6d5e 100644 --- a/src/math/Matrix3.js +++ b/src/math/Matrix3.js @@ -150,7 +150,7 @@ THREE.Matrix3.prototype = { }, - getInverse: function ( matrix, throwOnInvertible ) { + getInverse: function ( matrix, throwOnDegenerate ) { // input: THREE.Matrix4 // ( based on http://code.google.com/p/webgl-mjs/ ) @@ -176,7 +176,7 @@ THREE.Matrix3.prototype = { var msg = "THREE.Matrix3.getInverse(): can't invert matrix, determinant is 0"; - if ( throwOnInvertible || false ) { + if ( throwOnDegenerate || false ) { throw new Error( msg );