From 138687a7e6f84b3aeb928245fb27268aa89151a4 Mon Sep 17 00:00:00 2001 From: kekee000 Date: Mon, 30 Mar 2015 01:06:18 +0800 Subject: [PATCH] modify util --- src/graphics/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/util.js b/src/graphics/util.js index 44cdd2b..d788d03 100644 --- a/src/graphics/util.js +++ b/src/graphics/util.js @@ -94,7 +94,7 @@ define( * @return {number} */ function getPointHash(p) { - return Math.floor(7 * Math.floor(p.x * 10) + 31 * Math.floor(p.y * 100)); + return Math.floor(7 * Math.floor(p.x * 11) + 31 * Math.floor(p.y * 131)); } return {