float centerTwoX = two.x + two.width / 2;
float centerOneY = one.y + one.height / 2;
float centerTwoY = two.y + two.height / 2;
start = new Vector2f(centerOneX, centerOneY);
end = new Vector2f(centerTwoX, centerTwoY);
float heading = calculateAngle(start.x, start.y, end.x, end.y);
Transform t = Transform.createRotateTransform(heading, centerOneX,
centerOneY);
shape = shape.transform(t);
line = new Line(centerOneX, centerOneY, centerTwoX, centerTwoY);