Dependent gliders: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 9: Line 9:
brd.addHook(function() {
brd.addHook(function() {
     B.position = A.position + 0.5;
     B.position = A.position + 0.5;
     B.prepareUpdate().update().updateRenderer();
     B.prepareUpdate().update(true).updateRenderer();
  }, 'update');
  }, 'update');
</jsxgraph>
</jsxgraph>

Revision as of 20:16, 10 January 2012