function v = rot_cc(x, theta)
    
    theta = deg2rad(theta);
    R = [cos(theta) -sin(theta); sin(theta) cos(theta)];
    v = (R * x.').';

return

% figure
% hold on
% x=zt1(:, 1);
% y=zt1(:, 2);
% k = boundary(x,y,0.5);
% hold on;
% plot(x(k),y(k),'b');
% 
% x=zt2(:, 1);
% y=zt2(:, 2);
% k = boundary(x,y,0.5);
% hold on;
% plot(x(k),y(k),'r');
% 
% x=ze1(:, 1);
% y=ze1(:, 2);
% k = boundary(x,y,0.5);
% hold on;
% plot(x(k),y(k),'m');
% 
% x=ze2(:, 1);
% y=ze2(:, 2);
% k = boundary(x,y,0.5);
% hold on;
% plot(x(k),y(k),'g');