Skip to content

Commit 45c2a11

Browse files
committed
import THREE
1 parent a856a23 commit 45c2a11

6 files changed

Lines changed: 6 additions & 12 deletions

File tree

SpriteText/Examples/SpriteTextGui.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
import * as THREE from '../../../../three.js/dev/build/three.module.js';
2424
//import * as THREE from 'https://threejs.org/build/three.module.js';
2525
//import * as THREE from 'https://raw.githack.com/anhr/three.js/dev/build/three.module.js';
26-
//import { THREE } from '../../three.js';//https://github.com/anhr/commonNodeJS
27-
//import { THREE } from 'https://raw.githack.com/anhr/commonNodeJS/master/three.js';
2826

2927
import three from '../../three.js'
3028
three.THREE = THREE;

intersections/Examples/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html>
1+
<!DOCTYPE html>
22

33
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
44
<head>
@@ -45,11 +45,11 @@ <h1>Intersects.</h1>
4545

4646
import * as THREE from '../../../../three.js/dev/build/three.module.js';
4747
//import * as THREE from 'https://threejs.org/build/three.module.js';
48-
//import { THREE } from 'https://raw.githack.com/anhr/commonNodeJS/master/three.js';
48+
//import * as THREE from 'https://raw.githack.com/anhr/three.js/dev/build/three.module.js';
4949

50-
//import MyThree from '../../myThree/myThree.js';
50+
import MyThree from '../../myThree/myThree.js';
5151
//import MyThree from '../../myThree/build/myThree.module.js';
52-
import MyThree from '../../myThree/build/myThree.module.min.js';
52+
//import MyThree from '../../myThree/build/myThree.module.min.js';
5353

5454
//ERROR: Access to script at 'https://raw.githack.com/anhr/commonNodeJS/master/Intersections/Intersections.js'
5555
//from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

myThree/Examples/html/curve.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h1><a href='https://en.wikipedia.org/wiki/Parametric_equation' target="_blank">
114114

115115
import * as THREE from '../../../../../three.js/dev/build/three.module.js';
116116
//import * as THREE from 'https://threejs.org/build/three.module.js';
117-
//import { THREE } from 'https://raw.githack.com/anhr/commonNodeJS/master/three.js';
117+
//import * as THREE from 'https://raw.githack.com/anhr/three.js/dev/build/three.module.js';
118118

119119
import MyThree from '../../myThree.js';
120120
//import MyThree from '../../build/myThree.module.js';

myThree/Examples/html/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ <h2>Canvas.</h2>
4949

5050
import * as THREE from '../../../../../three.js/dev/build/three.module.js';
5151
//import * as THREE from 'https://threejs.org/build/three.module.js';
52-
//import { THREE } from 'https://raw.githack.com/anhr/commonNodeJS/master/three.js';
52+
//import * as THREE from 'https://raw.githack.com/anhr/three.js/dev/build/three.module.js';
5353

5454
//test for duplicate dat library
5555
//import { dat } from 'https://raw.githack.com/anhr/commonNodeJS/master/dat/dat.module.js';

player/Examples/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@
3333
//import * as THREE from 'https://threejs.org/build/three.module.js';
3434
import * as THREE from '../../../../three.js/dev/build/three.module.js';
3535
//import * as THREE from 'https://raw.githack.com/anhr/three.js/dev/build/three.module.js';
36-
// import * as THREE from '../../../../three.js/dev/build/three.module.min.js';
37-
// import { THREE } from 'https://raw.githack.com/anhr/commonNodeJS/master/three.js';
38-
// import * as THREE from 'https://raw.githack.com/anhr/three.js/dev/build/three.module.min.js';
3936

4037
import three from '../../three.js'
4138
three.THREE = THREE;

three.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
//import * as THREE from '../../../../../three.js/dev/build/three.module.min.js';
1919
//import * as THREE from '../../three.js/dev/build/three.module.js';
2020
//import * as THREE from '../../three.js/dev/src/Three.js';
21-
//import { THREE } from 'https://raw.githack.com/anhr/commonNodeJS/master/three.js';
2221
//import * as THREE from 'https://raw.githack.com/anhr/three.js/dev/build/three.module.js';
2322
//import * as THREE from 'https://raw.githack.com/anhr/three.js/dev/build/three.module.min.js';
2423
*/

0 commit comments

Comments
 (0)