Make it easier to stop default render loop on playground

It seems like the playground should call engine.runRenderLoop() BEFORE calling createScene, that way we can stop the default renderLoop and start a custom one without having to use setTimeout to wait for it to be created. Looking at the PG implementation it seems like a pretty straightforward change to make… :pray:

Please do a PR :slight_smile: as long as it does not break anything I’m totally fine with it

1 Like

Awesome, here’s the PR! From my initial tests it looks like I didn’t break anything, just moved things around a bit. :slight_smile: :beers:

2 Likes