Browse Source

Small fix

Ioannis Agtzidis 5 năm trước cách đây
mục cha
commit
e21e5a09ef
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      YZXrotation.m

+ 1 - 0
YZXrotation.m

@@ -8,6 +8,7 @@ function rot = YZXrotation(vec, tiltRads)
     psi = 0;
     if (abs(theta) < pi/2 - 0.01)
         psi = atan2(vec(3), vec(1));
+    end
 
     rot = zeros(3);
     rot(1,1) = cos(theta)*cos(psi);