* Check to see if two matrices are the same * @param {Matrix3D} input matrix b to compare to * @returns {boolean} indicator of whether two matrices are the same
(matrix:Matrix3D)
| 91 | * @returns {boolean} indicator of whether two matrices are the same |
| 92 | */ |
| 93 | public equals(matrix:Matrix3D):boolean { |
| 94 | for (var i = 0; i < 16; i++) { |
| 95 | if (this._internalArray[i] !== matrix._internalArray[i]) { |
| 96 | return false; |
| 97 | } |
| 98 | } |
| 99 | return true; |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Writes the matrix out to CSS compatible format |