Skip to content

Commit 7a31422

Browse files
authored
Docs: Improve DirectionalLightHelper page. (#672)
* Docs: Improve DirectionalLightHelper page. * Docs: Clean up.
1 parent 624257e commit 7a31422

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

types/three/src/helpers/DirectionalLightHelper.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import { ColorRepresentation } from '../math/Color.js';
1111
* @example
1212
* ```typescript
1313
* const light = new THREE.DirectionalLight(0xFFFFFF);
14+
* scene.add(light);
15+
*
1416
* const helper = new THREE.DirectionalLightHelper(light, 5);
1517
* scene.add(helper);
1618
* ```

0 commit comments

Comments
 (0)