wrapping for pointyXY

This commit is contained in:
Gavin McDonald
2018-12-16 14:11:56 -05:00
parent 9b4f2e92ad
commit e631691289
4 changed files with 67 additions and 32 deletions

View File

@@ -143,6 +143,7 @@ export class Tessellate {
tap (event) {
let point = new Point(event.offsetX, event.offsetY);
let tile = this.cartographer.pixelToTile(point);
let tap = {
@@ -216,7 +217,7 @@ export class Tessellate {
const lowerLeft = new Point(0, lowerRightY);
const lowerRight = new Point(lowerRightX, lowerRightY);
return funky.flatten(this.cartographer.boundingBox(upperLeft, upperRight, lowerLeft, lowerRight));
return this.cartographer.boundingBox(upperLeft, upperRight, lowerLeft, lowerRight);
}
draw (context) {