made no plotting flag for better performance and unit testing

This commit is contained in:
kdee committed 2025-12-24 16:20:57 -08:00
1 parent 843e5ba574
commit 1d11ac4e90
6 files changed
+33 -7

No files matched your search

+5
View File
@@ -7,6 +7,11 @@ function [obj] = updatePlots(obj, updatePartitions)
obj (1, 1) {mustBeA(obj, 'miSim')};
end
% Fast exit when plotting is disabled
if ~obj.makePlots
return;
end
% Update agent positions, collision geometries
for ii = 1:size(obj.agents, 1)
obj.agents{ii}.updatePlots();