MCPcopy
hub / github.com/mrdoob/texgen.js / renderScene

Function renderScene

editor/main.js:547–556  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

545 camera.position.z = 20;
546
547 function renderScene() {
548 requestAnimationFrame( renderScene );
549
550 var timer = 0.0005 * Date.now();
551
552 cube.rotation.y = timer;
553 sphere.rotation.y = timer;
554
555 renderer.render(scene, camera);
556 }
557
558 renderScene();
559}

Callers 1

init3DFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected