[Sie-announce] SIEコード [2780] SVGAnimateMotionElementの修正

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 6月 19日 (日) 23:05:25 JST


Revision: 2780
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2780
Author:   dhrname
Date:     2011-06-19 23:05:25 +0900 (Sun, 19 Jun 2011)

Log Message:
-----------
SVGAnimateMotionElementの修正

Modified Paths:
--------------
    branches/08x/080/org/w3c/dom/svg.js

Modified: branches/08x/080/org/w3c/dom/svg.js
===================================================================
--- branches/08x/080/org/w3c/dom/svg.js	2011-06-17 14:53:47 UTC (rev 2779)
+++ branches/08x/080/org/w3c/dom/svg.js	2011-06-19 14:05:25 UTC (rev 2780)
@@ -5504,7 +5504,7 @@
           return;
         }
         for (var i=1, tvli=tav.length;i<tvli;i+=2) {
-          total += Math.sqrt(Math.pow(tav[i][1] - tav[i][0], 2) + Math.pow(tav[i-1][1] - tav[i-1][0], 2));
+          total += Math.sqrt(Math.pow(tav[i][1] - tav[i-1][1], 2) + Math.pow(tav[i][0] - tav[i-1][0], 2));
         }
         for (var i=1;i<ii;i+=2) {
           st += Math.sqrt(Math.pow(tav[i][1] - tav[i-1][1], 2) + Math.pow(tav[i][0] - tav[i-1][0], 2));




Sie-announce メーリングリストの案内
Back to archive index