@@ -20,6 +20,8 @@
<code>
const light = new THREE.DirectionalLight( 0xFFFFFF );
+ scene.add( light );
+
const helper = new THREE.DirectionalLightHelper( light, 5 );
scene.add( helper );
</code>
@@ -21,8 +21,9 @@
- const helper = new THREE.DirectionalLightHelper( light, 5 );
scene.add( light );
+ const helper = new THREE.DirectionalLightHelper( light, 5 );
@@ -21,6 +21,8 @@