Skip to content

Commit

Permalink
Update more imports
Browse files Browse the repository at this point in the history
  • Loading branch information
shu8 committed Jun 18, 2020
1 parent e50c49d commit 704e801
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions avatars.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import THREE from '../three.js';
import THREE from './three.module.js';
import './vrarmik/three-vrm.js';
import {fixSkeletonZForward} from './vrarmik/SkeletonUtils.js';
import PoseManager from './vrarmik/PoseManager.js';
Expand Down Expand Up @@ -1093,4 +1093,4 @@ class Avatar {
this.setMicrophoneMediaStream(null);
}
}
export default Avatar;
export default Avatar;
11 changes: 5 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,10 @@
padding: 0 30px;
}
</style>
<script type="module">
import * as THREE from './three.js';
</script>
<script type="module" src="OrbitControls.js"></script>
<script type="module" src="Reflector.js"></script>
<script src='three.js'></script>
<script src="OrbitControls.js"></script>

<script src="Reflector.js"></script>
<script src="bmfont.js"></script>
</head>
<body>
Expand Down Expand Up @@ -1259,7 +1258,7 @@ <h3>Multiplayer</h3>
};
await _loadReferenceSpace();
const loadReferenceSpaceInterval = setInterval(_loadReferenceSpace, 1000);

await new Promise((accept, reject) => {
renderer.vr.setSession(session);

Expand Down

0 comments on commit 704e801

Please sign in to comment.