Browse Source

adds new spot light examples to SpotLight doc

I changed to this description well "A point light that can cast a shadow in one direction with a falloff cone."
I put the examples at the top since they are most relevant.
Master James 9 years ago
parent
commit
94e873b13a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      docs/api/lights/SpotLight.html

+ 3 - 1
docs/api/lights/SpotLight.html

@@ -12,12 +12,14 @@
 
 		<h1>[name]</h1>
 
-		<div class="desc">A point light that can cast shadow in one direction.</div>
+		<div class="desc">A point light that can cast a shadow in one direction with a falloff cone.</div>
 
 		<div class="desc">Affects objects using [page:MeshLambertMaterial] or [page:MeshPhongMaterial].</div>
 
 
 		<h2>Example</h2>
+		<div>[example:webgl_lights_spotlight lights / spotlight ]</div>
+		<div>[example:webgl_lights_spotlights lights / spotlights ]</div>
 		<div>[example:webgl_interactive_cubes_gpu interactive / cubes / gpu ]</div>
 		<div>[example:webgl_interactive_draggablecubes interactive / draggablecubes ]</div>
 		<div>[example:webgl_materials_bumpmap_skin materials / bumpmap / skin ]</div>