mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Improve documentation for Matrix#createInverse().
This commit is contained in:
parent
2736af646d
commit
f5ee4a1ff7
1 changed files with 6 additions and 2 deletions
|
@ -478,8 +478,12 @@ var Matrix = this.Matrix = Base.extend(/** @lends Matrix# */{
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return {Matrix} An Matrix object representing the inverse
|
* Inverts the transformation of the matrix. If the matrix is not invertible
|
||||||
* transformation.
|
* (in which case {@link #isSingular()} returns true), {@code null } is
|
||||||
|
* returned.
|
||||||
|
*
|
||||||
|
* @return {Matrix} The inverted matrix, or {@code null }, if the matrix is
|
||||||
|
* singular.
|
||||||
*/
|
*/
|
||||||
createInverse: function() {
|
createInverse: function() {
|
||||||
var det = this.getDeterminant();
|
var det = this.getDeterminant();
|
||||||
|
|
Loading…
Reference in a new issue