liabru / matter-js

a 2D rigid body physics engine for the web ▲● ■

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Render.setSize is not present in the build

feed4rz opened this issue · comments

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).

image