Improve documentation for Matrix#createInverse().

This commit is contained in:
Jürg Lehni 2011-07-27 22:01:51 +01:00
parent 2736af646d
commit f5ee4a1ff7

View file

@ -478,8 +478,12 @@ var Matrix = this.Matrix = Base.extend(/** @lends Matrix# */{
},
/**
* @return {Matrix} An Matrix object representing the inverse
* transformation.
* Inverts the transformation of the matrix. If the matrix is not invertible
* (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() {
var det = this.getDeterminant();