fix import three.js
This commit is contained in:
parent
846c0b9939
commit
a654cd20e1
|
|
@ -1,4 +1,4 @@
|
|||
import THREE from "three";
|
||||
import * as THREE from "three";
|
||||
|
||||
function toFaceVertices(x1, y1, x2, y2, w, h) {
|
||||
return [
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import THREE from "three";
|
||||
import * as THREE from "three";
|
||||
|
||||
class OrbitControls extends THREE.EventDispatcher {
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import THREE from "three";
|
||||
import * as THREE from "three";
|
||||
import { PlayerObject } from "./model";
|
||||
import { OrbitControls } from "./orbit_controls";
|
||||
import { invokeAnimation } from "./animation";
|
||||
|
|
|
|||
Loading…
Reference in New Issue