mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
Remove unnecessary controls from envmap example
This commit is contained in:
@@ -81,11 +81,7 @@
|
||||
scene.add(duck);
|
||||
|
||||
let renderedEnvMap = false;
|
||||
|
||||
const controls = new ForgeControls({ canvas: renderer.domElement });
|
||||
|
||||
renderer.setAnimationLoop(function animate(time) {
|
||||
controls.update(camera);
|
||||
renderer.render(scene, camera);
|
||||
duck.rotation.y += 0.01;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user