Bit more sustainable file location.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user