|
@@ -9,7 +9,20 @@
|
|
|
<body>
|
|
|
<h1>[name]</h1>
|
|
|
|
|
|
- <div class="desc">todo</div>
|
|
|
+ <div class="desc">This display a helper for a pointLight </div>
|
|
|
+
|
|
|
+
|
|
|
+ <h2>Example</h2>
|
|
|
+
|
|
|
+
|
|
|
+ <code>var pointLight = new THREE.PointLight( 0xff0000, 1, 100 );
|
|
|
+ pointLight.position.set( 10, 10, 10 );
|
|
|
+ scene.add( pointLight );
|
|
|
+
|
|
|
+ var sphereSize = 1;
|
|
|
+ var pointLightHelper = new THREE.PointLightHelper( pointLight, sphereSize )
|
|
|
+ scene.add( pointLightHelper );
|
|
|
+ </code>
|
|
|
|
|
|
|
|
|
<h2>Constructor</h2>
|