Uncaught TypeError: THREE.GLTFLoader is not a constructor
问题 I am new to THREE js I can't figure out the error when I am run my code the following error is showing Uncaught TypeError: THREE.GLTFLoader is not a constructor var loader = new THREE.GLTFLoader(); loader.load('modelReq/Gully_update_2.gltf', function (gltf) { scene.add(gltf.scene); gltf.animations; gltf.scene; gltf.scenes; gltf.cameras; gltf.asset; }, function (xhr) { console.log((xhr.loaded / xhr.total * 100 ) + '% loaded' ); }, function (error) { console.log( 'An error happened = ', error )