Browse Source

import three.js

Gregg Tavares 5 years ago
parent
commit
8def55eb40
1 changed files with 1 additions and 3 deletions
  1. 1 3
      threejs/threejs-responsive.js

+ 1 - 3
threejs/threejs-responsive.js

@@ -1,6 +1,4 @@
-'use strict';
-
-/* global THREE */
+import * as THREE from './resources/threejs/r108/build/three.module.js';
 
 
 function main() {
 function main() {
   const canvas = document.querySelector('#c');
   const canvas = document.querySelector('#c');