diff options
Diffstat (limited to 'src/matrix.js')
-rw-r--r-- | src/matrix.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/matrix.js b/src/matrix.js index 4531457..b175860 100644 --- a/src/matrix.js +++ b/src/matrix.js @@ -90,19 +90,6 @@ SVG.Matrix = SVG.invent({ , multiply: function(matrix) { return new SVG.Matrix(this.native().multiply(parseMatrix(matrix).native())) } - // Adds given matrix - , add: function(matrix) { - matrix = parseMatrix(matrix) - - return new SVG.Matrix({ - a: this.a + matrix.a - 1 - , b: this.b + matrix.b - , c: this.c + matrix.c - , d: this.d + matrix.d - 1 - , e: this.e + matrix.e - , f: this.f + matrix.f - }) - } // Inverses matrix , inverse: function() { return new SVG.Matrix(this.native().inverse()) |