Dependent gliders: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 11: Line 11:
       B.position = A.position - 0.3;
       B.position = A.position - 0.3;
       B.prepareUpdate().update(true).updateRenderer();
       B.prepareUpdate().update(true).updateRenderer();
       C.setPositionDirectly(JXG.COORDS_BY_USER, A.X()+1, -1); //.prepareUpdate().update(true).updateRenderer();
       C.setPositionDirectly(JXG.COORDS_BY_USER, A.X()+1, -1);  
      C.prepareUpdate().update(true).updateRenderer();
     }
     }
  }, 'update');
  }, 'update');
</jsxgraph>
</jsxgraph>

Revision as of 20:43, 10 January 2012