diff --git a/examples/index.html b/examples/index.html
index 751bc6958ed8300daa062c1747eafcffa67cd01f..68a503f9a24214f2611dd67e66ddc2c74ae56207 100644
--- a/examples/index.html
+++ b/examples/index.html
@@ -250,6 +250,7 @@
"webgl_lines_dashed",
"webgl_lines_sphere",
"webgl_lines_splines",
+ "webgl_loader_3mf",
"webgl_loader_amf",
"webgl_loader_assimp2json",
"webgl_loader_awd",
diff --git a/examples/webgl_loader_3mf.html b/examples/webgl_loader_3mf.html
index 430a5ce786c65e77c71e9c9f3b3c1c1015b8203d..fc702ddde3fa598f4ec121c4c6a7598e15df9500 100644
--- a/examples/webgl_loader_3mf.html
+++ b/examples/webgl_loader_3mf.html
@@ -66,7 +66,7 @@
scene.add( new THREE.AmbientLight( 0x999999 ) );
var pointLight = new THREE.PointLight( 0xffffff, 0.6 );
- pointLight.position.set( 80, 90, -150 );
+ pointLight.position.set( 80, 90, 150 );
scene.add( pointLight );
camera = new THREE.PerspectiveCamera( 35, window.innerWidth / window.innerHeight, 1, 500 );
@@ -86,9 +86,9 @@
document.body.appendChild( renderer.domElement );
var loader = new THREE.ThreeMFLoader();
- loader.load( './models/3mf/cube_gears.3mf', function ( object3mf ) {
+ loader.load( './models/3mf/cube_gears.3mf', function ( object ) {
- scene.add( object3mf );
+ scene.add( object );
render();
} );