Difference between revisions of "Rectangles"

From JSXGraph Wiki
Jump to navigationJump to search
Line 19: Line 19:
 
     circ = b2.create('circle', [pm, p1], {visible:false}),
 
     circ = b2.create('circle', [pm, p1], {visible:false}),
 
     p3 = b2.create('glider', [-2, 3, circ], {color:'blue'}),
 
     p3 = b2.create('glider', [-2, 3, circ], {color:'blue'}),
     t = b2.create('transform', [p3, pm], {type: 'reflect'}),
+
     t = b2.create('transform', [pm], {type: 'reflect'}),
 
     p4 = b2.create('point', [p3, t], {color:'blue'}),
 
     p4 = b2.create('point', [p3, t], {color:'blue'}),
 
     rect = b2.create('polygon',[p1,p3,p2,p4],{hasInnerPoints:true});
 
     rect = b2.create('polygon',[p1,p3,p2,p4],{hasInnerPoints:true});

Revision as of 15:00, 14 October 2014