소스 검색

Small fix

Ioannis Agtzidis 5 년 전
부모
커밋
e21e5a09ef
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);