[dirs_rot] = rotateDirs(dirs,theta,type);
| dirs | original directions in cartesian coordinates [x,y,z;...] |
| theta | rotation amount (in degrees) |
| type | type of rotation, options are 'yaw','pitch','roll' |
| dirs_rot | rotated directions in cartesian coordinates [x,y,z;...] |