matter-js
matter-js copied to clipboard
Render.setSize is not present in the build
For some reason Render.setSize is not present in the build nor the docs.
This is confusing, because there is a renderResize example which uses above method.
For now copy pasting the code from the method itself produces expected behaviour (canvas is resized).