%Tests reflection in corners. Four circles start in center and move
%on perfect diagonal between corners.
function [] = project1aTest3()

  circles(1) = makeCircle(50,50,5,1,1,'r');
  circles(2) = makeCircle(50,50,5,-1,-1,'b');
  circles(3) = makeCircle(50,50,5,-1,1,'k');
  circles(4) = makeCircle(50,50,5,1,-1,'g');
  project1a(circles, 100, 100);

end





































































function circle = makeCircle(xpos, ypos, radius, xVelocity, yVelocity, color)
  circle.xpos = xpos;
  circle.ypos = ypos;
  circle.radius =  radius;
  circle.xVelocity = xVelocity;
  circle.yVelocity = yVelocity;
  circle.color = color;
end