Skip to content

Commit

Permalink
Docs: Improve DirectionalLightHelper page. (#672)
Browse files Browse the repository at this point in the history
* Docs: Improve DirectionalLightHelper page.

* Docs: Clean up.
  • Loading branch information
Methuselah96 authored Nov 9, 2023
1 parent 624257e commit 7a31422
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/three/src/helpers/DirectionalLightHelper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import { ColorRepresentation } from '../math/Color.js';
* @example
* ```typescript
* const light = new THREE.DirectionalLight(0xFFFFFF);
* scene.add(light);
*
* const helper = new THREE.DirectionalLightHelper(light, 5);
* scene.add(helper);
* ```
Expand Down

0 comments on commit 7a31422

Please sign in to comment.