Browse Source

Update formatting to match code style cd

Ewa Gasperowicz 7 years ago
parent
commit
310d681866
1 changed files with 4 additions and 0 deletions
  1. 4 0
      examples/js/workers/OffscreenCanvas.js

+ 4 - 0
examples/js/workers/OffscreenCanvas.js

@@ -65,9 +65,13 @@ function animate() {
 	renderer.render( scene, camera );
 
 	if ( self.requestAnimationFrame ) {
+
 		self.requestAnimationFrame( animate );
+
 	} else if ( renderer.context.commit ) {
+
 		renderer.context.commit().then( animate );
+
 	}
 
 }