Care with quaternion negation

assets/negative.svg
if( dot(q1,q2)<0 )
    q2 = -q2

q(t) = SLERP(q1,q2,t)