|
@@ -12,15 +12,16 @@
|
|
|
<h1>[name]</h1>
|
|
|
|
|
|
<div class="desc">
|
|
|
- This light's color gets applied to all the object in the scene globally.
|
|
|
+ This light's color gets applied to all the objects in the scene globally.
|
|
|
</div>
|
|
|
|
|
|
|
|
|
<h2>Example</h2>
|
|
|
|
|
|
- <code>var light = new THREE.AmbientLight( 0xff0000 );
|
|
|
- scene.add( light );</code>
|
|
|
+<code>var light = new THREE.AmbientLight( 0xff0000 );
|
|
|
+scene.add( light );</code>
|
|
|
|
|
|
+ will light objects with red.
|
|
|
|
|
|
<h2>Constructor</h2>
|
|
|
|