feat: resize
This commit is contained in:
parent
214b62d411
commit
b485d72650
|
@ -40,6 +40,10 @@ export default class Renderer {
|
|||
}
|
||||
}
|
||||
|
||||
resize(size) {
|
||||
this.renderer.resize(size[0], size[1]);
|
||||
}
|
||||
|
||||
get size() {
|
||||
return [this.width, this.height];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user