Bit more sustainable file location.

This commit is contained in:
2019-03-08 18:32:56 +01:00
parent 88ea65e424
commit 0a09f2616b
5 changed files with 6 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ function startOpenAnimation() {
}
function loadFont() {
import('../node_modules/three/examples/fonts/helvetiker_bold.typeface').then(function (data) {
import('three/examples/fonts/helvetiker_bold.typeface').then(function (data) {
let font = new THREE.Font(data);
let geometry = new THREE.TextGeometry('Ja!', {
font: font,