Fixed live import

This commit is contained in:
Devine Lu Linvega
2019-01-08 10:03:38 +12:00
parent 7b8df6541f
commit d661c46f8a
3 changed files with 10 additions and 6 deletions

View File

@@ -273,6 +273,6 @@ DOTGRID.Guide = function () {
ctx.restore()
}
function pos_is_equal (a, b) { return a && b && Math.abs(a.x) == Math.abs(b.x) && Math.abs(a.y) == Math.abs(b.y) }
function isEqual (a, b) { return a && b && Math.abs(a.x) == Math.abs(b.x) && Math.abs(a.y) == Math.abs(b.y) }
function clamp (v, min, max) { return v < min ? min : v > max ? max : v }
}