Lewy Blue 6 anos atrás
pai
commit
3ff1a8de03
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5 5
      examples/webgl_buffergeometry_morphtargets.html

+ 5 - 5
examples/webgl_buffergeometry_morphtargets.html

@@ -150,18 +150,18 @@
 
 
 				// Set up dat.GUI to control targets
 				// Set up dat.GUI to control targets
 				var params = {
 				var params = {
-					squash: 0,
-					lean: 0,
+					Squash: 0,
+					Lean: 0,
 				};
 				};
 				var gui = new dat.GUI();
 				var gui = new dat.GUI();
 				var folder = gui.addFolder( 'Morph Targets' );
 				var folder = gui.addFolder( 'Morph Targets' );
 
 
-				folder.add( params, 'squash', 0, 1 ).step( 0.01 ).onChange( function ( value ) {
+				folder.add( params, 'Squash', 0, 1 ).step( 0.01 ).onChange( function ( value ) {
 
 
 					mesh.morphTargetInfluences[ 0 ] = value;
 					mesh.morphTargetInfluences[ 0 ] = value;
 
 
 				} );
 				} );
-				folder.add( params, 'lean', 0, 1 ).step( 0.01 ).onChange( function ( value ) {
+				folder.add( params, 'Lean', 0, 1 ).step( 0.01 ).onChange( function ( value ) {
 
 
 					mesh.morphTargetInfluences[ 1 ] = value;
 					mesh.morphTargetInfluences[ 1 ] = value;
 
 
@@ -183,4 +183,4 @@
 		</script>
 		</script>
 
 
 	</body>
 	</body>
-</html>
+</html>