[Sie-announce] SIEコード [2324] inverseメソッドのマイナス符号の付け忘れを修正

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2011年 1月 23日 (日) 23:09:19 JST


Revision: 2324
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2324
Author:   dhrname
Date:     2011-01-23 23:09:19 +0900 (Sun, 23 Jan 2011)

Log Message:
-----------
inverseメソッドのマイナス符号の付け忘れを修正

Modified Paths:
--------------
    branches/06x/069/org/w3c/dom/svg.js

Modified: branches/06x/069/org/w3c/dom/svg.js
===================================================================
--- branches/06x/069/org/w3c/dom/svg.js	2011-01-23 14:03:45 UTC (rev 2323)
+++ branches/06x/069/org/w3c/dom/svg.js	2011-01-23 14:09:19 UTC (rev 2324)
@@ -1780,13 +1780,13 @@
     if (n !== 0) {
       s.a = this.d / n;
       s.b = -this.b / n;
-      s.c = this.c / n;
+      s.c = -this.c / n;
       s.d = this.a / n;
       s.e = (this.c * this.f - this.d * this.e) / n;
       s.f = (this.b * this.e - this.a * this.f) / n;
       return s;
     } else {
-      throw (new SVGException(SVGException.SVG_MATRIX_NOT_INVERTABLE))
+      throw (new SVGException(SVGException.SVG_MATRIX_NOT_INVERTABLE));
     }
   },
   /*SVGMatrix*/ translate : function(/*float*/ x, /*float*/ y ) {




Sie-announce メーリングリストの案内
アーカイブの一覧に戻る