Difference between revisions of "Dependent gliders"

From JSXGraph Wiki
Jump to: navigation, search
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, C.Y()).prepareUpdate().update(true).updateRenderer();
+
       C.setPositionDirectly(JXG.COORDS_BY_USER, A.X()+1, -1); //.prepareUpdate().update(true).updateRenderer();
 
     }
 
     }
 
  }, 'update');
 
  }, 'update');
 
</jsxgraph>
 
</jsxgraph>

Revision as of 21:42, 10 January 2012