Remove DO_THRESHOLD check from quat.pow; this was an accidental, inappropriate copypaste from lerp().
This commit is contained in:
parent
6c49915112
commit
7ac8b80f3f
@ -177,10 +177,6 @@ function quat.pow(a, s)
|
||||
end
|
||||
local dot = a.w
|
||||
|
||||
if dot > DOT_THRESHOLD then
|
||||
return a:scale(s)
|
||||
end
|
||||
|
||||
dot = min(max(dot, -1), 1)
|
||||
|
||||
local theta = acos(dot) * s
|
||||
|
Loading…
x
Reference in New Issue
Block a user