fix import three.js

This commit is contained in:
Pig Fang 2018-01-14 20:46:20 +08:00
parent 846c0b9939
commit a654cd20e1
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import THREE from "three";
import * as THREE from "three";
function toFaceVertices(x1, y1, x2, y2, w, h) {
return [

View File

@ -1,4 +1,4 @@
import THREE from "three";
import * as THREE from "three";
class OrbitControls extends THREE.EventDispatcher {
/**

View File

@ -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";