diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-01-20 21:47:26 -0500 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-01-20 21:47:26 -0500 |
commit | 5da019cd1ff9a492900582996867b2fbf8a0eb0e (patch) | |
tree | 4f876bd381e503852ae2ccc5dbc5496684bc9248 /tools | |
parent | b9dfc89f239cdecaf546238ed5dae055077e315f (diff) |
removed extraneous code from tools/search
Diffstat (limited to 'tools')
-rw-r--r-- | tools/search.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/search.js b/tools/search.js index 38a1124..7f681f0 100644 --- a/tools/search.js +++ b/tools/search.js @@ -12,11 +12,6 @@ function getComp(index){ return (element,needle) => (element[index] - needle[index] || element[1-index] - needle[1-index]) } -function tileToChar(coord){ - let cofactor = [8,16]; - return [coord[0]*cofactor[0], coord[1]*cofactor[1]]; -} - function Search(searchBlock){ // searchBlock should be a Space object. this.tiles = {}; // Object which stores Spaces. this.sort = [[],[]]; // Vertically/horizontally sorted list of tiles for fast addition, deletion, and searching |