Browse Source

JSM: Added dat.gui module version.

Mugen87 6 years ago
parent
commit
1a3a141371
2 changed files with 2314 additions and 3 deletions
  1. 2311 0
      examples/jsm/libs/dat.gui.module.js
  2. 3 3
      examples/webgl_postprocessing_sobel.html

File diff suppressed because it is too large
+ 2311 - 0
examples/jsm/libs/dat.gui.module.js


+ 3 - 3
examples/webgl_postprocessing_sobel.html

@@ -8,8 +8,6 @@
 	</head>
 	<body>
 
-		<script src="js/libs/dat.gui.min.js"></script>
-
 		<div id="info">
 			<a href="https://threejs.org" target="_blank" rel="noopener noreferrer">three.js</a> - webgl - postprocessing<br/>
 			sobel (edge detection)
@@ -27,6 +25,8 @@
 				PointLight
 			} from "../build/three.module.js";
 
+			import { GUI } from './jsm/libs/dat.gui.module.js';
+
 			import { OrbitControls } from './jsm/controls/OrbitControls.js';
 
 			import { EffectComposer } from './jsm/postprocessing/EffectComposer.js';
@@ -108,7 +108,7 @@
 
 				//
 
-				var gui = new dat.GUI();
+				var gui = new GUI();
 
 				gui.add( params, 'enable' );
 				gui.open();

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