Skip to content

Commit

Permalink
docs(readme): fix the example 'via npm'
Browse files Browse the repository at this point in the history
  • Loading branch information
remin committed Sep 14, 2019
1 parent d25ed87 commit 375980c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -79,7 +79,7 @@ import { VRM } from '@pixiv/three-vrm';

const scene = new THREE.Scene();

const loader = new THREE.GLTFLoader();
const loader = new GLTFLoader();
loader.load(

// URL of the VRM you want to load
Expand All @@ -89,7 +89,7 @@ loader.load(
( gltf ) => {

// generate a VRM instance from gltf
THREE.VRM.from( gltf ).then( ( vrm ) => {
VRM.from( gltf ).then( ( vrm ) => {

// add the loaded vrm to the scene
scene.add( vrm.scene );
Expand Down

0 comments on commit 375980c

Please sign in to comment.