math.abs
This commit is contained in:
@@ -158,7 +158,7 @@ module.exports = {
|
||||
}
|
||||
|
||||
return {
|
||||
pos: abs - off < 0.00001 ? 0 : abs - off,
|
||||
pos: Math.abs(abs - off) < 0.00001 ? 0 : abs - off,
|
||||
abs: abs,
|
||||
off: off,
|
||||
min: min,
|
||||
|
||||
Reference in New Issue
Block a user