I spent some time to find how to use this, maybe it will be useful for someone:
var gltfLoader = new THREE.GLTFLoader();
var result = await gltfLoader.loadAsync("car/scene.gltf");
...
I spent some time to find how to use this, maybe it will be useful for someone:
var gltfLoader = new THREE.GLTFLoader();
var result = await gltfLoader.loadAsync("car/scene.gltf");
...