Update quaternions.scad

This commit is contained in:
RonaldoCMP 2020-07-17 21:19:09 +01:00
parent 9b779972a5
commit fd0e74ac97

View file

@ -614,7 +614,7 @@ function Q_Squad(q1,q2,q3,q4,u) =
"Invalid interpolation coefficient(s)" )
is_num(u)
? Q_Slerp( Q_Slerp(q1,q4,u), Q_Slerp(q2,q3,u), 2*u*(1-u))
: [for(ui=u) Q_Slerp( Q_Slerp(q1,q4,ui), Q_Slerp(q2,q3,ui), 2*ui*(1-ui) ]);
: [for(ui=u) Q_Slerp( Q_Slerp(q1,q4,ui), Q_Slerp(q2,q3,ui), 2*ui*(1-ui) ) ];
// Function: Q_exp()