From 5da019cd1ff9a492900582996867b2fbf8a0eb0e Mon Sep 17 00:00:00 2001 From: Holden Rohrer Date: Mon, 20 Jan 2020 21:47:26 -0500 Subject: removed extraneous code from tools/search --- tools/search.js | 5 ----- 1 file changed, 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 -- cgit