Browse Source

Embedded Single SpotLight Example

Embedded Single SpotLight iframe example into SpotLight.html doc
Master James 9 years ago
parent
commit
3c6b6a621d
1 changed files with 7 additions and 2 deletions
  1. 7 2
      docs/api/lights/SpotLight.html

+ 7 - 2
docs/api/lights/SpotLight.html

@@ -18,8 +18,12 @@
 
 
 		<h2>Example</h2>
-		<div>[example:webgl_lights_spotlight lights / spotlight ]</div>
-		<div>[example:webgl_lights_spotlights lights / spotlights ]</div>
+
+		<iframe src='../examples/webgl_lights_spotlight.html'></iframe>
+		<a target="THREE_Examples" href="../examples/#webgl_lights_spotlight">View in Examples</a><br />
+		<h2>Other Examples</h2>
+
+		<div>[example:webgl_lights_spotlights lights / spotlights ]</div><br />
 		<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>
@@ -27,6 +31,7 @@
 		<div>[example:webgl_morphtargets_md2 morphtargets / md2 ]</div>
 		<div>[example:webgl_shading_physical shading / physical ]</div>
 
+		<h2>Code Example</h2>
 		<code>
 		// white spotlight shining from the side, casting shadow