Skip to content

Commit e525937

Browse files
committed
javascript example: setDecoderPath() for draco code
1 parent 418edd2 commit e525937

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

javascript/example/webgl_loader_draco.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
light.position.set( - 1, 1, 1 );
8080
scene.add( light );
8181

82+
dracoLoader.setDecoderPath( '/javascript/' );
8283
dracoLoader.load( 'models/bunny.drc', function ( geometry ) {
8384

8485
geometry.computeVertexNormals();

0 commit comments

Comments
 (0)