@@ -24,6 +24,25 @@ var threeSrcDir = path.resolve(baseDir, 'node_modules', 'three', 'src');
24
24
var AUTOGEN_EXT = 'autogen' ;
25
25
var JS_AUTOGEN_EXT = '.' + AUTOGEN_EXT + '.js' ;
26
26
27
+
28
+ /**
29
+ * Custom classes, i.e. classes that should be included in the
30
+ * autogen routine but which has no *direct* counterpart in the
31
+ * three.js library.
32
+ */
33
+ var CUSTOM_CLASSES = [
34
+ 'textures/ImageTexture.js' ,
35
+ 'textures/TextTexture.js' ,
36
+ 'controls/Controls.js' ,
37
+ 'controls/OrbitControls.js' ,
38
+ 'controls/TrackballControls.js' ,
39
+ 'controls/FlyControls.js' ,
40
+ 'controls/Picker.js' ,
41
+ 'geometries/PlainGeometry.js' ,
42
+ 'objects/CloneArray.js' ,
43
+ ] ;
44
+
45
+
27
46
//
28
47
// Templates
29
48
//
@@ -898,17 +917,6 @@ function createTopLevelPythonModuleFile() {
898
917
899
918
}
900
919
901
- var CUSTOM_CLASSES = [
902
- 'textures/ImageTexture.js' ,
903
- 'textures/TextTexture.js' ,
904
- 'controls/Controls.js' ,
905
- 'controls/OrbitControls.js' ,
906
- 'controls/TrackballControls.js' ,
907
- 'controls/FlyControls.js' ,
908
- 'controls/Picker.js' ,
909
- 'geometries/PlainGeometry.js' ,
910
- 'objects/CloneArray.js' ,
911
- ] ;
912
920
913
921
function createJavascriptFiles ( ) {
914
922
return mapPromiseFnOverThreeModules ( createJavascriptWrapper )
0 commit comments