rotateValues2D.m
% This function is part of the NMSM Pipeline, see file for full license.
%
%
%
% (struct) -> (struct)
% Rotate markers or other values by the given rotation (theta) value
function [newXValues, newYValues] = rotateValues2D(xValues, yValues, theta)
newXValues = (xValues * cos(theta)) - (yValues * sin(theta));
newYValues = (xValues * sin(theta)) + (yValues * cos(theta));
end