mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-17 06:08:32 +01:00
Update quaternions.scad
This commit is contained in:
parent
34a589bdde
commit
9b779972a5
@ -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))
|
||||
: Q_Slerp( Q_Slerp(q1,q4,u), Q_Slerp(q2,q3,u), [for(ui=u) 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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user