Merge pull request #44 from mcclure/no-dot-threshold
Remove DO_THRESHOLD check from quat.pow
This commit is contained in:
commit
127935e0d8
@ -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