JavaScript
0
Вклад в тег
function animate() {
if (anim) {
cancelAnimationFrame(id)
id = requestAnimationFrame( animate );
explode();
} else {
cancelAnimationFrame(id)
id = requestAnimationFrame( animate );
render();
}
stats.update();
}