function [ ] = drawCar( x, y )
%DRAWCAR Draw a very simple marker for a "car".
% The car is just a small rectangle centered at (x,y).

carHalfLength = 0.7;
carHalfHeight = 0.4;

xs = [ x - carHalfLength, x + carHalfLength, x + carHalfLength, x - carHalfLength, x - carHalfLength ];
ys = [ y + carHalfHeight, y + carHalfHeight, y - carHalfHeight, y - carHalfHeight, y + carHalfHeight ];
plot( xs, ys, 'r' );

end

