Skip to content

Commit

Permalink
javascript example: setDecoderPath() for draco code
Browse files Browse the repository at this point in the history
  • Loading branch information
jokester committed Mar 17, 2023
1 parent 418edd2 commit e525937
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions javascript/example/webgl_loader_draco.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
light.position.set( - 1, 1, 1 );
scene.add( light );

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

geometry.computeVertexNormals();
Expand Down

0 comments on commit e525937

Please sign in to comment.