* Computes the normal matrix which is the inverse transpose of the upper * left 3x3 portion of the given 4x4 matrix. * * @param {Matrix4} matrix4 - The 4x4 matrix. * @return {Matrix3} A reference to this matrix.
( matrix4 )
| 350 | * @return {Matrix3} A reference to this matrix. |
| 351 | */ |
| 352 | getNormalMatrix( matrix4 ) { |
| 353 | |
| 354 | return this.setFromMatrix4( matrix4 ).invert().transpose(); |
| 355 | |
| 356 | } |
| 357 | |
| 358 | /** |
| 359 | * Transposes this matrix into the supplied array, and returns itself unchanged. |
no test coverage detected