From 4548e369aa0d0e3665751ad1a8beb3c20b1b797b Mon Sep 17 00:00:00 2001 From: ZaellixA <axilleaz@protonmail.com> Date: Tue, 30 Jul 2024 14:13:58 +0100 Subject: [PATCH] Fixed error in calling rotation fucntion in rcvGeo.m function --- Utilities/Geometries/MATLAB/Functions/rcvGeo.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Utilities/Geometries/MATLAB/Functions/rcvGeo.m b/Utilities/Geometries/MATLAB/Functions/rcvGeo.m index b08dc78..f7c7bb7 100644 --- a/Utilities/Geometries/MATLAB/Functions/rcvGeo.m +++ b/Utilities/Geometries/MATLAB/Functions/rcvGeo.m @@ -3,7 +3,7 @@ % Author: Achilles Kappis % e-mail: axilleaz@protonmail.com % -% Date: 16/07/2024 (DD/MM/YYYY) +% Date: 30/07/2024 (DD/MM/YYYY) % % Copyright: MIT % -------------------------------------------------- @@ -386,7 +386,7 @@ function [omniPos, fig8Pos, triPos, boxPos, box2DPos, tetPos, fig8Vec, triangleV end % Rotate and position - tetPos(measPosIdx, :, :) = omniPos(measPosIdx, :) + tempPos * rotMat3d(0, 0, rot, "Deg"); + tetPos(measPosIdx, :, :) = omniPos(measPosIdx, :) + tempPos * rotMat3d(0, 0, rot, "Degs"); end case "uca" % Get the angle of the positions on the circle @@ -394,10 +394,10 @@ function [omniPos, fig8Pos, triPos, boxPos, box2DPos, tetPos, fig8Vec, triangleV % Rotate and position tetrahedrals for measPosIdx = numel(az):-1:1 - tetPos(measPosIdx, :, :) = omniPos(measPosIdx, :) + tempPos * rotMat3d(0, 0, -az(measPosIdx), "Deg"); + tetPos(measPosIdx, :, :) = omniPos(measPosIdx, :) + tempPos * rotMat3d(0, 0, -az(measPosIdx), "Degs"); end case "single" - tetPos = omniPos + tempPos * rotMat3d(30, 30, 0, "Deg"); + tetPos = omniPos + tempPos * rotMat3d(30, 30, 0, "Degs"); end if ~strcmpi(gType, "Single") -- GitLab