Difference between revisions of "Circle approximation"

From JSXGraph Wiki
Jump to navigationJump to search
Line 17: Line 17:
 
   for (i=0;i<n.Value();i++) {
 
   for (i=0;i<n.Value();i++) {
 
     rot.applyOnce(ptmp);
 
     rot.applyOnce(ptmp);
     this.dataX.push(ptmp.X()];
+
     this.dataX.push(ptmp.X());
 
     this.dataY.push(ptmp.Y());
 
     this.dataY.push(ptmp.Y());
 
   }
 
   }

Revision as of 11:17, 24 June 2009

The underlying JavaScript code