feat: resize

This commit is contained in:
cha0s 2021-01-27 00:13:38 -06:00
parent 214b62d411
commit b485d72650

View File

@ -40,6 +40,10 @@ export default class Renderer {
}
}
resize(size) {
this.renderer.resize(size[0], size[1]);
}
get size() {
return [this.width, this.height];
}