import flash.events.MouseEvent;
import flash.geom.Vector3D;
import flash.events.Event;
import flash.display.Sprite;
public class JointTest extends Sprite {
private var joints:Vector.<Joint>
private var points:Vector.<Vector.<Point2D>>
private var cols:Number=10
private var rows:Number=10
private var res:Number=20
private var gravity : Vector3D = new Vector3D(0, .3)
public function JointTest() {
joints=new Vector.<Joint>()
points=new Vector.<Vector.<Point2D>>()
points[cols-1][0].pinned=true