Dependent gliders: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 23: Line 23:
       C.setPositionDirectly(JXG.COORDS_BY_USER, A.X()+3, C.Y());  
       C.setPositionDirectly(JXG.COORDS_BY_USER, A.X()+3, C.Y());  
       C.prepareUpdate().update().updateRenderer();
       C.prepareUpdate().update().updateRenderer();
     } else if (o==b) {
     } else if (o==B) {
       A.position = B.position + 0.3;
       A.position = B.position + 0.3;
       A.prepareUpdate().update(true).updateRenderer();
       A.prepareUpdate().update(true).updateRenderer();

Revision as of 20:56, 10 January 2012