This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class HashGrid { | |
float bucketSize; | |
int gridWidth, gridHeight, bucketLength, numberOfRows, numberOfCols; | |
HashGrid(float bucketSize_, int gridWidth_, int gridHeight_, int bucketLength_) { | |
} | |
void set(Points point_) { //TODO: it is better probably to use an interface instead of hardcoding it but for now! ... | |
} | |
Points[] get(PVector location_) { | |
Points[] answer = new Points[answerLength]; | |
return answer; | |
} | |
void drawGrid() { | |
} | |
public class Buckets { | |
Points [] bucket = new Points[bucketLength];//TODO: use an interface instead! | |
int arrayPointer; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment