Browse Source

Post release fixes.

Mr.doob 6 years ago
parent
commit
ca009fa583
100 changed files with 219 additions and 115 deletions
  1. 1 0
      examples/css2d_label.html
  2. 1 0
      examples/css3d_molecules.html
  3. 1 0
      examples/css3d_orthographic.html
  4. 1 0
      examples/css3d_panorama.html
  5. 1 0
      examples/css3d_panorama_deviceorientation.html
  6. 1 0
      examples/css3d_periodictable.html
  7. 1 0
      examples/css3d_sandbox.html
  8. 1 0
      examples/css3d_sprites.html
  9. 1 0
      examples/css3d_youtube.html
  10. 30 8
      examples/js/loaders/VRMLLoader.js
  11. 30 8
      examples/jsm/loaders/VRMLLoader.js
  12. 2 2
      examples/jsm/shaders/CopyShader.d.ts
  13. 2 2
      examples/jsm/shaders/FXAAShader.d.ts
  14. 2 2
      examples/jsm/shaders/FilmShader.d.ts
  15. 2 2
      examples/jsm/shaders/FocusShader.d.ts
  16. 2 2
      examples/jsm/shaders/FreiChenShader.d.ts
  17. 2 2
      examples/jsm/shaders/FresnelShader.d.ts
  18. 7 7
      examples/jsm/shaders/GodRaysShader.d.ts
  19. 2 2
      examples/jsm/shaders/HalftoneShader.d.ts
  20. 2 2
      examples/jsm/shaders/HorizontalBlurShader.d.ts
  21. 2 2
      examples/jsm/shaders/HorizontalTiltShiftShader.d.ts
  22. 2 2
      examples/jsm/shaders/HueSaturationShader.d.ts
  23. 2 2
      examples/jsm/shaders/KaleidoShader.d.ts
  24. 2 2
      examples/jsm/shaders/LuminosityHighPassShader.d.ts
  25. 2 2
      examples/jsm/shaders/LuminosityShader.d.ts
  26. 2 2
      examples/jsm/shaders/MirrorShader.d.ts
  27. 2 2
      examples/jsm/shaders/NormalMapShader.d.ts
  28. 2 2
      examples/jsm/shaders/OceanShaders.d.ts
  29. 2 2
      examples/jsm/shaders/ParallaxShader.d.ts
  30. 2 2
      examples/jsm/shaders/PixelShader.d.ts
  31. 2 2
      examples/jsm/shaders/RGBShiftShader.d.ts
  32. 2 2
      examples/jsm/shaders/SAOShader.d.ts
  33. 6 6
      examples/jsm/shaders/SMAAShader.d.ts
  34. 6 6
      examples/jsm/shaders/SSAOShader.d.ts
  35. 2 2
      examples/jsm/shaders/SepiaShader.d.ts
  36. 6 6
      examples/jsm/shaders/SkinShader.d.ts
  37. 2 2
      examples/jsm/shaders/SobelOperatorShader.d.ts
  38. 2 2
      examples/jsm/shaders/TechnicolorShader.d.ts
  39. 2 2
      examples/jsm/shaders/TerrainShader.d.ts
  40. 2 2
      examples/jsm/shaders/ToneMapShader.d.ts
  41. 8 8
      examples/jsm/shaders/ToonShader.d.ts
  42. 2 2
      examples/jsm/shaders/TranslucentShader.d.ts
  43. 2 2
      examples/jsm/shaders/TriangleBlurShader.d.ts
  44. 2 2
      examples/jsm/shaders/UnpackDepthRGBAShader.d.ts
  45. 2 2
      examples/jsm/shaders/VerticalBlurShader.d.ts
  46. 2 2
      examples/jsm/shaders/VerticalTiltShiftShader.d.ts
  47. 2 2
      examples/jsm/shaders/VignetteShader.d.ts
  48. 2 2
      examples/jsm/shaders/VolumeShader.d.ts
  49. 2 2
      examples/jsm/shaders/WaterRefractionShader.d.ts
  50. 1 0
      examples/misc_animation_authoring.html
  51. 1 0
      examples/misc_animation_groups.html
  52. 1 0
      examples/misc_animation_keys.html
  53. 1 0
      examples/misc_boxselection.html
  54. 1 0
      examples/misc_controls_deviceorientation.html
  55. 1 0
      examples/misc_controls_fly.html
  56. 1 0
      examples/misc_controls_map.html
  57. 1 0
      examples/misc_controls_orbit.html
  58. 1 0
      examples/misc_controls_pointerlock.html
  59. 1 0
      examples/misc_controls_trackball.html
  60. 1 0
      examples/misc_controls_transform.html
  61. 1 0
      examples/misc_exporter_collada.html
  62. 1 0
      examples/misc_exporter_draco.html
  63. 1 0
      examples/misc_exporter_gltf.html
  64. 1 0
      examples/misc_exporter_obj.html
  65. 1 0
      examples/misc_exporter_stl.html
  66. 1 0
      examples/misc_fps.html
  67. 1 0
      examples/misc_lookat.html
  68. 1 0
      examples/misc_uv_tests.html
  69. 1 0
      examples/raytracing_sandbox.html
  70. 1 0
      examples/software_geometry_earth.html
  71. 1 0
      examples/software_lines_splines.html
  72. 1 0
      examples/software_sandbox.html
  73. 1 0
      examples/svg_lines.html
  74. 1 0
      examples/svg_sandbox.html
  75. 1 0
      examples/webaudio_sandbox.html
  76. 1 0
      examples/webaudio_visualizer.html
  77. 1 0
      examples/webgl2_materials_texture2darray.html
  78. 1 0
      examples/webgl2_multisampled_renderbuffers.html
  79. 1 0
      examples/webgl2_sandbox.html
  80. 1 0
      examples/webgl_animation_cloth.html
  81. 1 0
      examples/webgl_animation_keyframes.html
  82. 1 0
      examples/webgl_animation_multiple.html
  83. 1 0
      examples/webgl_animation_skinning_blending.html
  84. 1 0
      examples/webgl_animation_skinning_morph.html
  85. 1 0
      examples/webgl_buffergeometry.html
  86. 1 0
      examples/webgl_buffergeometry_constructed_from_geometry.html
  87. 1 0
      examples/webgl_buffergeometry_custom_attributes_particles.html
  88. 1 0
      examples/webgl_buffergeometry_drawcalls.html
  89. 1 0
      examples/webgl_buffergeometry_indexed.html
  90. 1 0
      examples/webgl_buffergeometry_lines.html
  91. 1 0
      examples/webgl_buffergeometry_lines_indexed.html
  92. 1 0
      examples/webgl_buffergeometry_morphtargets.html
  93. 1 0
      examples/webgl_buffergeometry_points.html
  94. 1 0
      examples/webgl_buffergeometry_points_interleaved.html
  95. 1 0
      examples/webgl_buffergeometry_rawshader.html
  96. 1 0
      examples/webgl_buffergeometry_selective_draw.html
  97. 1 0
      examples/webgl_buffergeometry_uint.html
  98. 1 0
      examples/webgl_camera.html
  99. 1 0
      examples/webgl_camera_array.html
  100. 1 0
      examples/webgl_camera_cinematic.html

+ 1 - 0
examples/css2d_label.html

@@ -18,6 +18,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> css2d - label</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { OrbitControls } from './jsm/controls/OrbitControls.js';

+ 1 - 0
examples/css3d_molecules.html

@@ -65,6 +65,7 @@
 		<div id="menu"></div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { TrackballControls } from './jsm/controls/TrackballControls.js';

+ 1 - 0
examples/css3d_orthographic.html

@@ -21,6 +21,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> css3d - orthographic</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { OrbitControls } from './jsm/controls/OrbitControls.js';

+ 1 - 0
examples/css3d_panorama.html

@@ -10,6 +10,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js css3d</a> - panorama demo. cubemap by <a href="http://www.humus.name/index.php?page=Textures" target="_blank" rel="noopener">Humus</a>.</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { CSS3DRenderer, CSS3DObject } from './jsm/renderers/CSS3DRenderer.js';

+ 1 - 0
examples/css3d_panorama_deviceorientation.html

@@ -10,6 +10,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> css3d - panorama - device orientation.<br/>cubemap by <a href="http://www.humus.name/index.php?page=Textures" target="_blank" rel="noopener">Humus</a>.</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { DeviceOrientationControls } from './jsm/controls/DeviceOrientationControls.js';

+ 1 - 0
examples/css3d_periodictable.html

@@ -93,6 +93,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { TrackballControls } from './jsm/controls/TrackballControls.js';

+ 1 - 0
examples/css3d_sandbox.html

@@ -17,6 +17,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> css3d - sandbox</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { TrackballControls } from './jsm/controls/TrackballControls.js';

+ 1 - 0
examples/css3d_sprites.html

@@ -22,6 +22,7 @@
 		<div id="container"></div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { TrackballControls } from './jsm/controls/TrackballControls.js';

+ 1 - 0
examples/css3d_youtube.html

@@ -24,6 +24,7 @@
 		<div id="blocker"></div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { TrackballControls } from './jsm/controls/TrackballControls.js';

+ 30 - 8
examples/js/loaders/VRMLLoader.js

@@ -170,7 +170,8 @@ THREE.VRMLLoader = ( function () {
 
 				var StringLiteral = createToken( { name: "StringLiteral", pattern: /"(:?[^\\"\n\r]+|\\(:?[bfnrtv"\\/]|u[0-9a-fA-F]{4}))*"/ } );
 				var NumberLiteral = createToken( { name: 'NumberLiteral', pattern: /[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?/ } );
-				var BooleanLiteral = createToken( { name: 'BooleanLiteral', pattern: /TRUE|FALSE/ } );
+				var TrueLiteral = createToken( { name: 'TrueLiteral', pattern: /TRUE/ } );
+				var FalseLiteral = createToken( { name: 'FalseLiteral', pattern: /FALSE/ } );
 				var NullLiteral = createToken( { name: 'NullLiteral', pattern: /NULL/ } );
 				var LSquare = createToken( { name: 'LSquare', pattern: /\[/ } );
 				var RSquare = createToken( { name: 'RSquare', pattern: /]/ } );
@@ -198,7 +199,8 @@ THREE.VRMLLoader = ( function () {
 					USE,
 					ROUTE,
 					TO,
-					BooleanLiteral,
+					TrueLiteral,
+					FalseLiteral,
 					NullLiteral,
 					// the Identifier must appear after the keywords because all keywords are valid identifiers
 					Version,
@@ -446,15 +448,29 @@ THREE.VRMLLoader = ( function () {
 
 					}
 
-					if ( ctx.BooleanLiteral ) {
+					if ( ctx.TrueLiteral ) {
 
 						field.type = 'boolean';
 
-						for ( var i = 0, l = ctx.BooleanLiteral.length; i < l; i ++ ) {
+						for ( var i = 0, l = ctx.TrueLiteral.length; i < l; i ++ ) {
 
-							var booleanLiteral = ctx.BooleanLiteral[ i ];
+							var trueLiteral = ctx.TrueLiteral[ i ];
 
-							field.values.push( booleanLiteral.image === 'TRUE' );
+							if ( trueLiteral.image === 'TRUE' ) field.values.push( true );
+
+						}
+
+					}
+
+					if ( ctx.FalseLiteral ) {
+
+						field.type = 'boolean';
+
+						for ( var i = 0, l = ctx.FalseLiteral.length; i < l; i ++ ) {
+
+							var falseLiteral = ctx.FalseLiteral[ i ];
+
+							if ( falseLiteral.image === 'FALSE' ) field.values.push( false );
 
 						}
 
@@ -2374,7 +2390,8 @@ THREE.VRMLLoader = ( function () {
 		var RouteIdentifier = tokenVocabulary[ 'RouteIdentifier' ];
 		var StringLiteral = tokenVocabulary[ 'StringLiteral' ];
 		var NumberLiteral = tokenVocabulary[ 'NumberLiteral' ];
-		var BooleanLiteral = tokenVocabulary[ 'BooleanLiteral' ];
+		var TrueLiteral = tokenVocabulary[ 'TrueLiteral' ];
+		var FalseLiteral = tokenVocabulary[ 'FalseLiteral' ];
 		var NullLiteral = tokenVocabulary[ 'NullLiteral' ];
 		var DEF = tokenVocabulary[ 'DEF' ];
 		var USE = tokenVocabulary[ 'USE' ];
@@ -2483,7 +2500,12 @@ THREE.VRMLLoader = ( function () {
 					} },
 					{ ALT: function () {
 
-						$.CONSUME( BooleanLiteral );
+						$.CONSUME( TrueLiteral );
+
+					} },
+					{ ALT: function () {
+
+						$.CONSUME( FalseLiteral );
 
 					} },
 					{ ALT: function () {

+ 30 - 8
examples/jsm/loaders/VRMLLoader.js

@@ -204,7 +204,8 @@ var VRMLLoader = ( function () {
 
 				var StringLiteral = createToken( { name: "StringLiteral", pattern: /"(:?[^\\"\n\r]+|\\(:?[bfnrtv"\\/]|u[0-9a-fA-F]{4}))*"/ } );
 				var NumberLiteral = createToken( { name: 'NumberLiteral', pattern: /[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?/ } );
-				var BooleanLiteral = createToken( { name: 'BooleanLiteral', pattern: /TRUE|FALSE/ } );
+				var TrueLiteral = createToken( { name: 'TrueLiteral', pattern: /TRUE/ } );
+				var FalseLiteral = createToken( { name: 'FalseLiteral', pattern: /FALSE/ } );
 				var NullLiteral = createToken( { name: 'NullLiteral', pattern: /NULL/ } );
 				var LSquare = createToken( { name: 'LSquare', pattern: /\[/ } );
 				var RSquare = createToken( { name: 'RSquare', pattern: /]/ } );
@@ -232,7 +233,8 @@ var VRMLLoader = ( function () {
 					USE,
 					ROUTE,
 					TO,
-					BooleanLiteral,
+					TrueLiteral,
+					FalseLiteral,
 					NullLiteral,
 					// the Identifier must appear after the keywords because all keywords are valid identifiers
 					Version,
@@ -480,15 +482,29 @@ var VRMLLoader = ( function () {
 
 					}
 
-					if ( ctx.BooleanLiteral ) {
+					if ( ctx.TrueLiteral ) {
 
 						field.type = 'boolean';
 
-						for ( var i = 0, l = ctx.BooleanLiteral.length; i < l; i ++ ) {
+						for ( var i = 0, l = ctx.TrueLiteral.length; i < l; i ++ ) {
 
-							var booleanLiteral = ctx.BooleanLiteral[ i ];
+							var trueLiteral = ctx.TrueLiteral[ i ];
 
-							field.values.push( booleanLiteral.image === 'TRUE' );
+							if ( trueLiteral.image === 'TRUE' ) field.values.push( true );
+
+						}
+
+					}
+
+					if ( ctx.FalseLiteral ) {
+
+						field.type = 'boolean';
+
+						for ( var i = 0, l = ctx.FalseLiteral.length; i < l; i ++ ) {
+
+							var falseLiteral = ctx.FalseLiteral[ i ];
+
+							if ( falseLiteral.image === 'FALSE' ) field.values.push( false );
 
 						}
 
@@ -2408,7 +2424,8 @@ var VRMLLoader = ( function () {
 		var RouteIdentifier = tokenVocabulary[ 'RouteIdentifier' ];
 		var StringLiteral = tokenVocabulary[ 'StringLiteral' ];
 		var NumberLiteral = tokenVocabulary[ 'NumberLiteral' ];
-		var BooleanLiteral = tokenVocabulary[ 'BooleanLiteral' ];
+		var TrueLiteral = tokenVocabulary[ 'TrueLiteral' ];
+		var FalseLiteral = tokenVocabulary[ 'FalseLiteral' ];
 		var NullLiteral = tokenVocabulary[ 'NullLiteral' ];
 		var DEF = tokenVocabulary[ 'DEF' ];
 		var USE = tokenVocabulary[ 'USE' ];
@@ -2517,7 +2534,12 @@ var VRMLLoader = ( function () {
 					} },
 					{ ALT: function () {
 
-						$.CONSUME( BooleanLiteral );
+						$.CONSUME( TrueLiteral );
+
+					} },
+					{ ALT: function () {
+
+						$.CONSUME( FalseLiteral );
 
 					} },
 					{ ALT: function () {

+ 2 - 2
examples/jsm/shaders/CopyShader.d.ts

@@ -2,11 +2,11 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface CopyShader {
+export const CopyShader: {
   uniforms: {
     tDiffuse: Uniform;
     opacity: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/FXAAShader.d.ts

@@ -2,11 +2,11 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface FXAAShader {
+export const FXAAShader: {
   uniforms: {
     tDiffuse: Uniform;
     resolution: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/FilmShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface FilmShader {
+export const FilmShader: {
   uniforms: {
     tDiffuse: Uniform;
     time: Uniform;
@@ -13,4 +13,4 @@ export interface FilmShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/FocusShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface FocusShader {
+export const FocusShader: {
   uniforms: {
     tDiffuse: Uniform;
     screenWidth: Uniform;
@@ -12,4 +12,4 @@ export interface FocusShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/FreiChenShader.d.ts

@@ -2,11 +2,11 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface FreiChenShader {
+export const FreiChenShader: {
   uniforms: {
     tDiffuse: Uniform;
     aspect: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/FresnelShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface FresnelShader {
+export const FresnelShader: {
   uniforms: {
     mRefractionRatio: Uniform;
     mFresnelBias: Uniform;
@@ -12,4 +12,4 @@ export interface FresnelShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 7 - 7
examples/jsm/shaders/GodRaysShader.d.ts

@@ -2,15 +2,15 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface GodRaysDepthMaskShader {
+export const GodRaysDepthMaskShader: {
   uniforms: {
     tInput: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};
 
-export interface GodRaysGenerateShader {
+export const GodRaysGenerateShader: {
   uniforms: {
     tInput: Uniform;
     fStepSize: Uniform;
@@ -18,9 +18,9 @@ export interface GodRaysGenerateShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};
 
-export interface GodRaysCombineShader {
+export const GodRaysCombineShader: {
   uniforms: {
     tColors: Uniform;
     tGodRays: Uniform;
@@ -31,7 +31,7 @@ export interface GodRaysCombineShader {
   fragmentShader: string;
 }
 
-export interface GodRaysFakeSunShader {
+export const GodRaysFakeSunShader: {
   uniforms: {
     vSunPositionScreenSpace: Uniform;
     fAspect: Uniform;
@@ -40,4 +40,4 @@ export interface GodRaysFakeSunShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/HalftoneShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface HalftoneShader {
+export const HalftoneShader: {
   uniforms: {
     tDiffuse: Uniform;
     shape: Uniform;
@@ -20,4 +20,4 @@ export interface HalftoneShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/HorizontalBlurShader.d.ts

@@ -2,11 +2,11 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface HorizontalBlurShader {
+export const HorizontalBlurShader: {
   uniforms: {
     tDiffuse: Uniform;
     h: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/HorizontalTiltShiftShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface HorizontalTiltShiftShader {
+export const HorizontalTiltShiftShader: {
   uniforms: {
     tDiffuse: Uniform;
     h: Uniform;
@@ -10,4 +10,4 @@ export interface HorizontalTiltShiftShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/HueSaturationShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface HueSaturationShader {
+export const HueSaturationShader: {
   uniforms: {
     tDiffuse: Uniform;
     hue: Uniform;
@@ -10,4 +10,4 @@ export interface HueSaturationShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/KaleidoShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface KaleidoShader {
+export const KaleidoShader: {
   uniforms: {
     tDiffuse: Uniform;
     sides: Uniform;
@@ -10,4 +10,4 @@ export interface KaleidoShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/LuminosityHighPassShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface LuminosityHighPassShader {
+export const LuminosityHighPassShader: {
   shaderID: string;
   uniforms: {
     tDiffuse: Uniform;
@@ -13,4 +13,4 @@ export interface LuminosityHighPassShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/LuminosityShader.d.ts

@@ -2,10 +2,10 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface LuminosityShader {
+export const LuminosityShader: {
   uniforms: {
     tDiffuse: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/MirrorShader.d.ts

@@ -2,11 +2,11 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface MirrorShader {
+export const MirrorShader: {
   uniforms: {
     tDiffuse: Uniform;
     side: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/NormalMapShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface NormalMapShader {
+export const NormalMapShader: {
   uniforms: {
     heightMap: Uniform;
     resolution: Uniform;
@@ -11,4 +11,4 @@ export interface NormalMapShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/OceanShaders.d.ts

@@ -4,7 +4,7 @@ import {
   Vector2,
 } from '../../../src/Three';
 
-export interface OceanShaders {
+export const OceanShaders: {
 
   ocean_sim_vertex: {
     vertexShader: string;
@@ -72,4 +72,4 @@ export interface OceanShaders {
     fragmentShader: string;
   }
 
-}
+};

+ 2 - 2
examples/jsm/shaders/ParallaxShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface ParallaxShader {
+export const ParallaxShader: {
   modes: {
     none: string;
     basic: string;
@@ -19,4 +19,4 @@ export interface ParallaxShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/PixelShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface PixelShader {
+export const PixelShader: {
   uniforms: {
     tDiffuse: Uniform;
     resolution: Uniform;
@@ -10,4 +10,4 @@ export interface PixelShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/RGBShiftShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface RGBShiftShader {
+export const RGBShiftShader: {
   uniforms: {
     tDiffuse: Uniform;
     amount: Uniform;
@@ -10,4 +10,4 @@ export interface RGBShiftShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/SAOShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface SAOShader {
+export const SAOShader: {
   defines: {
     NUM_SAMPLES: number;
     NUM_RINGS: number;
@@ -29,4 +29,4 @@ export interface SAOShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 6 - 6
examples/jsm/shaders/SMAAShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface SMAAEdgesShader {
+export const SMAAEdgesShader: {
   defines: {
     SMAA_THRESHOLD: string;
   },
@@ -12,9 +12,9 @@ export interface SMAAEdgesShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};
 
-export interface SMAAWeightsShader {
+export const SMAAWeightsShader: {
   defines: {
     SMAA_MAX_SEARCH_STEPS: string;
     SMAA_AREATEX_MAX_DISTANCE: string;
@@ -29,9 +29,9 @@ export interface SMAAWeightsShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};
 
-export interface SMAABlendShader {
+export const SMAABlendShader: {
   uniforms: {
     tDiffuse: Uniform;
     tColor: Uniform;
@@ -39,4 +39,4 @@ export interface SMAABlendShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 6 - 6
examples/jsm/shaders/SSAOShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface SSAOShader {
+export const SSAOShader: {
   defines: {
     PERSPECTIVE_CAMERA: number;
     KERNEL_SIZE: number;
@@ -24,9 +24,9 @@ export interface SSAOShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};
 
-export interface SSAODepthShader {
+export const SSAODepthShader: {
   defines: {
     PERSPECTIVE_CAMERA: number;
   };
@@ -37,13 +37,13 @@ export interface SSAODepthShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};
 
-export interface SSAOBlurShader {
+export const SSAOBlurShader: {
   uniforms: {
     tDiffuse: Uniform;
     resolution: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/SepiaShader.d.ts

@@ -2,11 +2,11 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface SepiaShader {
+export const SepiaShader: {
   uniforms: {
     tDiffuse: Uniform;
     amount: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 6 - 6
examples/jsm/shaders/SkinShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface SkinShaderBasic {
+export const SkinShaderBasic: {
   uniforms: {
     ambientLightColor: Uniform;
     bumpMap: Uniform;
@@ -38,9 +38,9 @@ export interface SkinShaderBasic {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};
 
-export interface SkinShaderAdvanced {
+export const SkinShaderAdvanced: {
   uniforms: {
     ambientLightColor: Uniform;
     diffuse: Uniform;
@@ -76,10 +76,10 @@ export interface SkinShaderAdvanced {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};
 
-export interface SkinShaderBeckmann {
+export const SkinShaderBeckmann: {
   uniforms: {};
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/SobelOperatorShader.d.ts

@@ -2,11 +2,11 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface SobelOperatorShader {
+export const SobelOperatorShader: {
   uniforms: {
     tDiffuse: Uniform;
     resolution: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/TechnicolorShader.d.ts

@@ -2,10 +2,10 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface TechnicolorShader {
+export const TechnicolorShader: {
   uniforms: {
     tDiffuse: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/TerrainShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface TerrainShader {
+export const TerrainShader: {
   uniforms: {
     ambientLightColor: Uniform;
     diffuse: Uniform;
@@ -44,4 +44,4 @@ export interface TerrainShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/ToneMapShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface ToneMapShader {
+export const ToneMapShader: {
   uniforms: {
     tDiffuse: Uniform;
     averageLuminance: Uniform;
@@ -13,4 +13,4 @@ export interface ToneMapShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 8 - 8
examples/jsm/shaders/ToonShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface ToonShader1 {
+export const ToonShader1: {
   uniforms: {
     uDirLightPos: Uniform;
     uDirLightColor: Uniform;
@@ -11,9 +11,9 @@ export interface ToonShader1 {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};
 
-export interface ToonShader2 {
+export const ToonShader2: {
   uniforms: {
     uDirLightPos: Uniform;
     uDirLightColor: Uniform;
@@ -26,9 +26,9 @@ export interface ToonShader2 {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};
 
-export interface ToonShaderHatching {
+export const ToonShaderHatching: {
   uniforms: {
     uDirLightPos: Uniform;
     uDirLightColor: Uniform;
@@ -41,9 +41,9 @@ export interface ToonShaderHatching {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};
 
-export interface ToonShaderDotted {
+export const ToonShaderDotted: {
   uniforms: {
     uDirLightPos: Uniform;
     uDirLightColor: Uniform;
@@ -53,4 +53,4 @@ export interface ToonShaderDotted {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/TranslucentShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface TranslucentShader {
+export const TranslucentShader: {
   uniforms: {
     alphaMap: Uniform;
     ambientLightColor: Uniform;
@@ -36,4 +36,4 @@ export interface TranslucentShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/TriangleBlurShader.d.ts

@@ -2,11 +2,11 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface TriangleBlurShader {
+export const TriangleBlurShader: {
   uniforms: {
     texture: Uniform;
     delta: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/UnpackDepthRGBAShader.d.ts

@@ -2,11 +2,11 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface UnpackDepthRGBAShader {
+export const UnpackDepthRGBAShader: {
   uniforms: {
     tDiffuse: Uniform;
     opacity: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/VerticalBlurShader.d.ts

@@ -2,11 +2,11 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface VerticalBlurShader {
+export const VerticalBlurShader: {
   uniforms: {
     tDiffuse: Uniform;
     v: Uniform;
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/VerticalTiltShiftShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface VerticalTiltShiftShader {
+export const VerticalTiltShiftShader: {
   uniforms: {
     tDiffuse: Uniform;
     v: Uniform;
@@ -10,4 +10,4 @@ export interface VerticalTiltShiftShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/VignetteShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface VignetteShader {
+export const VignetteShader: {
   uniforms: {
     tDiffuse: Uniform;
     offset: Uniform;
@@ -10,4 +10,4 @@ export interface VignetteShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/VolumeShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface VolumeShader {
+export const VolumeShader: {
   uniforms: {
     u_size: Uniform;
     u_renderstyle: Uniform;
@@ -13,4 +13,4 @@ export interface VolumeShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 2 - 2
examples/jsm/shaders/WaterRefractionShader.d.ts

@@ -2,7 +2,7 @@ import {
   Uniform
 } from '../../../src/Three';
 
-export interface WaterRefractionShader {
+export const WaterRefractionShader: {
   uniforms: {
     color: Uniform;
     time: Uniform;
@@ -12,4 +12,4 @@ export interface WaterRefractionShader {
   };
   vertexShader: string;
   fragmentShader: string;
-}
+};

+ 1 - 0
examples/misc_animation_authoring.html

@@ -16,6 +16,7 @@
 		<script src="js/libs/timeliner_gui.min.js"></script>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { TransformControls } from './jsm/controls/TransformControls.js';

+ 1 - 0
examples/misc_animation_groups.html

@@ -13,6 +13,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/misc_animation_keys.html

@@ -13,6 +13,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/misc_boxselection.html

@@ -29,6 +29,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/misc_controls_deviceorientation.html

@@ -14,6 +14,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { DeviceOrientationControls } from './jsm/controls/DeviceOrientationControls.js';

+ 1 - 0
examples/misc_controls_fly.html

@@ -28,6 +28,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/misc_controls_map.html

@@ -23,6 +23,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { GUI } from './jsm/libs/dat.gui.module.js';

+ 1 - 0
examples/misc_controls_orbit.html

@@ -23,6 +23,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { OrbitControls } from './jsm/controls/OrbitControls.js';

+ 1 - 0
examples/misc_controls_pointerlock.html

@@ -57,6 +57,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { PointerLockControls } from './jsm/controls/PointerLockControls.js';

+ 1 - 0
examples/misc_controls_trackball.html

@@ -23,6 +23,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/misc_controls_transform.html

@@ -15,6 +15,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { OrbitControls } from './jsm/controls/OrbitControls.js';

+ 1 - 0
examples/misc_exporter_collada.html

@@ -13,6 +13,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { GUI } from './jsm/libs/dat.gui.module.js';

+ 1 - 0
examples/misc_exporter_draco.html

@@ -27,6 +27,7 @@
 		<script src="js/libs/draco/draco_encoder.js"></script>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { OrbitControls } from './jsm/controls/OrbitControls.js';

+ 1 - 0
examples/misc_exporter_gltf.html

@@ -25,6 +25,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { OBJLoader } from './jsm/loaders/OBJLoader.js';

+ 1 - 0
examples/misc_exporter_obj.html

@@ -34,6 +34,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { OBJExporter } from './jsm/exporters/OBJExporter.js';

+ 1 - 0
examples/misc_exporter_stl.html

@@ -13,6 +13,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { OrbitControls } from './jsm/controls/OrbitControls.js';

+ 1 - 0
examples/misc_fps.html

@@ -11,6 +11,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> - platformer demo. cubemap by <a href="http://www.zfight.com/" target="_blank" rel="noopener">Jochum Skoglund</a>.<br />Use arrow keys to look around, WASD to move and SPACE to jump.</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			// player motion parameters

+ 1 - 0
examples/misc_lookat.html

@@ -20,6 +20,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> - Object3D.lookAt() example</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/misc_uv_tests.html

@@ -9,6 +9,7 @@
 	<body>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { UVsDebug } from './jsm/utils/UVsDebug.js';

+ 1 - 0
examples/raytracing_sandbox.html

@@ -15,6 +15,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { RaytracingRenderer } from './jsm/renderers/RaytracingRenderer.js';

+ 1 - 0
examples/software_geometry_earth.html

@@ -17,6 +17,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> - earth demo</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/software_lines_splines.html

@@ -14,6 +14,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { GeometryUtils } from './jsm/utils/GeometryUtils.js';

+ 1 - 0
examples/software_sandbox.html

@@ -14,6 +14,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/svg_lines.html

@@ -21,6 +21,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { SVGRenderer } from './jsm/renderers/SVGRenderer.js';

+ 1 - 0
examples/svg_sandbox.html

@@ -14,6 +14,7 @@
 	<body>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webaudio_sandbox.html

@@ -57,6 +57,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { GUI } from './jsm/libs/dat.gui.module.js';

+ 1 - 0
examples/webaudio_visualizer.html

@@ -90,6 +90,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			var scene, camera, renderer, analyser, uniforms;

+ 1 - 0
examples/webgl2_materials_texture2darray.html

@@ -58,6 +58,7 @@
 		<script src="js/WebGL.js"></script>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl2_multisampled_renderbuffers.html

@@ -36,6 +36,7 @@
 		<script src="js/WebGL.js"></script>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { EffectComposer } from './jsm/postprocessing/EffectComposer.js';

+ 1 - 0
examples/webgl2_sandbox.html

@@ -13,6 +13,7 @@
 		<script src="js/WebGL.js"></script>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { OrbitControls } from './jsm/controls/OrbitControls.js';

+ 1 - 0
examples/webgl_animation_cloth.html

@@ -22,6 +22,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_animation_keyframes.html

@@ -28,6 +28,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_animation_multiple.html

@@ -15,6 +15,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { GLTFLoader } from './jsm/loaders/GLTFLoader.js';

+ 1 - 0
examples/webgl_animation_skinning_blending.html

@@ -33,6 +33,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_animation_skinning_morph.html

@@ -35,6 +35,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry.html

@@ -12,6 +12,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry_constructed_from_geometry.html

@@ -18,6 +18,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry_custom_attributes_particles.html

@@ -47,6 +47,7 @@
 		</script>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry_drawcalls.html

@@ -20,6 +20,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry_indexed.html

@@ -17,6 +17,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - indexed</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry_lines.html

@@ -17,6 +17,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - lines</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry_lines_indexed.html

@@ -18,6 +18,7 @@
 
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry_morphtargets.html

@@ -20,6 +20,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import { GUI } from './jsm/libs/dat.gui.module.js';

+ 1 - 0
examples/webgl_buffergeometry_points.html

@@ -12,6 +12,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - particles</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry_points_interleaved.html

@@ -12,6 +12,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - particles</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry_rawshader.html

@@ -58,6 +58,7 @@
 		</script>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry_selective_draw.html

@@ -47,6 +47,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_buffergeometry_uint.html

@@ -12,6 +12,7 @@
 		<div id="info"><a href="http://threejs.org" target="_blank" rel="noopener">three.js</a> webgl - buffergeometry - uint</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_camera.html

@@ -20,6 +20,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

+ 1 - 0
examples/webgl_camera_array.html

@@ -9,6 +9,7 @@
 	<body>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			var camera, scene, renderer;

+ 1 - 0
examples/webgl_camera_cinematic.html

@@ -22,6 +22,7 @@
 		</div>
 
 		<script type="module">
+
 			import * as THREE from '../build/three.module.js';
 
 			import Stats from './jsm/libs/stats.module.js';

Some files were not shown because too many files changed in this diff