moved 'background' to drawShapes for the time being
This commit is contained in:
@@ -212,18 +212,15 @@ export class Tessellate {
|
||||
return funky.flatten(this.cartographer.boundingBox(upperLeft, upperRight, lowerLeft, lowerRight));
|
||||
}
|
||||
|
||||
background (color) {
|
||||
this.sketch.background(color);
|
||||
}
|
||||
|
||||
draw (context) {
|
||||
const canvas = context.canvas;
|
||||
const width = canvas.width;
|
||||
const height = canvas.height;
|
||||
const width = canvas.width;
|
||||
|
||||
this.settings.draw({
|
||||
context,
|
||||
|
||||
height, width,
|
||||
scale: this.cartographer.getScale(),
|
||||
|
||||
tilePoints: this.getTilePoints({
|
||||
|
||||
Reference in New Issue
Block a user