File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,13 @@ Object.assign( Matrix3.prototype, {
164164
165165 } ,
166166
167- getInverse : function ( matrix ) {
167+ getInverse : function ( matrix , throwOnDegenerate ) {
168+
169+ if ( throwOnDegenerate !== undefined ) {
170+
171+ console . warn ( "THREE.Matrix3: .getInverse() can no longer be configured to throw on degenerate." ) ;
172+
173+ }
168174
169175 var me = matrix . elements ,
170176 te = this . elements ,
Original file line number Diff line number Diff line change @@ -504,7 +504,13 @@ Object.assign( Matrix4.prototype, {
504504
505505 } ,
506506
507- getInverse : function ( m ) {
507+ getInverse : function ( m , throwOnDegenerate ) {
508+
509+ if ( throwOnDegenerate !== undefined ) {
510+
511+ console . warn ( "THREE.Matrix4: .getInverse() can no longer be configured to throw on degenerate." ) ;
512+
513+ }
508514
509515 // based on http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm
510516 var te = this . elements ,
You can’t perform that action at this time.
0 commit comments