Open unphased opened 11 years ago
How can I allocate an array in order to specify geometry (e.g. for a chain shape or polygon shape)?
Doesn't look like box2d.js was compiled with malloc.
Emscripten does provide memory management functions for this, they're used in embox2d-helpers.js which creates chain and polygon shapes.
How can I allocate an array in order to specify geometry (e.g. for a chain shape or polygon shape)?
Doesn't look like box2d.js was compiled with malloc.