modify util

This commit is contained in:
kekee000
2015-03-30 01:06:18 +08:00
parent a48c4a1ec4
commit 138687a7e6

View File

@@ -94,7 +94,7 @@ define(
* @return {number} * @return {number}
*/ */
function getPointHash(p) { 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 { return {