Dependent gliders: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) 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, | C.setPositionDirectly(JXG.COORDS_BY_USER, A.X()+1, -1); //.prepareUpdate().update(true).updateRenderer(); | ||
} | } | ||
}, 'update'); | }, 'update'); | ||
</jsxgraph> | </jsxgraph> |