Skip to content

Commit 155d41e

Browse files
guiseekMugen87
andauthored
Docs: Fixes missing material on the doc page about the LOD class (#30591)
* Docs: Fixes missing material on the doc page about the LOD class * Update LOD.html --------- Co-authored-by: Michael Herzog <[email protected]>
1 parent 11c6c58 commit 155d41e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/api/en/objects/LOD.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ <h2>Code Example</h2>
2525

2626
<code>
2727
const lod = new THREE.LOD();
28+
const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
2829

2930
//Create spheres with 3 levels of detail and create new LOD levels for them
3031
for( let i = 0; i < 3; i++ ) {

0 commit comments

Comments
 (0)