Skip to content

Commit 60e2049

Browse files
committed
🐛 Remove unnecessary code
1 parent 13dfa9c commit 60e2049

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/conversions/angle_to_quat.jl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,7 @@ function angle_to_quat(
9494

9595
s = (q0 < 0) ? -1 : +1
9696

97-
if rot_seq == :ZY
98-
return Quaternion(
99-
s * q0,
100-
s * (-s₁ * s₂),
101-
s * ( c₁ * s₂),
102-
s * ( s₁ * c₂)
103-
)
104-
elseif rot_seq == :XY
97+
if rot_seq == :XY
10598
return Quaternion(
10699
s * q0,
107100
s * (s₁ * c₂),

0 commit comments

Comments
 (0)