Commit aa9313e9 authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

bugfix: daff files are rotated correctly on read

parent 5f3f884e
...@@ -436,8 +436,9 @@ classdef itaHRTF < itaAudio ...@@ -436,8 +436,9 @@ classdef itaHRTF < itaAudio
phiM = coordDaff(:,1)*pi/180; phiM = coordDaff(:,1)*pi/180;
%phiM = mod(coordDaff(:,1),360)*pi/180; %phiM = mod(coordDaff(:,1),360)*pi/180;
%if ~isempty(find(0<coordDaff(:,2),1,'first')) %if ~isempty(find(0<coordDaff(:,2),1,'first'))
thetaM = coordDaff(:,2)*pi/180; thetaM = mod(180-(coordDaff(:,2)),180)*pi/180;
%thetaM = mod(180-(coordDaff(:,2)+90),180)*pi/180; % thetaM = coordDaff(:,2)*pi/180;
%else %else
% thetaM = coordDaff(:,2)*pi/180; % thetaM = coordDaff(:,2)*pi/180;
%end %end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment