- fixed bug in ReverbTime method

- changed default plotModel color for wireframe model
parent 5890696e
......@@ -759,7 +759,7 @@ classdef itaRavenProject < handle
end
%------------------------------------------------------------------
function plotModelRoom(obj, tgtAxes, comp2axesMapping, wireframe)
function tgtAxes = plotModelRoom(obj, tgtAxes, comp2axesMapping, wireframe)
% identical to plotModel, without sound sources and receivers
if isempty(obj.modelFileList)
return;
......@@ -2904,10 +2904,10 @@ classdef itaRavenProject < handle
% get reverberation time
if (eyring == 1)
airAbsorption = determineAirAbsorptionParameter(obj.getTemperature, obj.getPressure, obj.getHumidity);
RT = roommodel.getEquationBasedReverbTime(obj.pathMaterials, 'eyring', airAbsorption);
RT = roommodel.getReverbTime(obj.pathMaterials, 'eyring', airAbsorption);
else
airAbsorption = determineAirAbsorptionParameter(obj.getTemperature, obj.getPressure, obj.getHumidity);
RT = roommodel.getEquationBasedReverbTime(obj.pathMaterials, 'sabine', airAbsorption);
RT = roommodel.getReverbTime(obj.pathMaterials, 'sabine', airAbsorption);
end
end
......
......@@ -272,7 +272,7 @@ classdef load_ac3d
line( obj.nodes([polyNodes; polyNodes(1)],component2axesMapping(1)) * invertAxes(1), ...
obj.nodes([polyNodes; polyNodes(1)],component2axesMapping(2)) * invertAxes(2), ...
obj.nodes([polyNodes; polyNodes(1)],component2axesMapping(3)) * invertAxes(3), ...
'Color', [.1 .1 .1]);
'Color', [.6 .6 .6]);
end
else
% display GA model
......
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