Browse Source

Examples: Fix translation snap unit. (#27959)

Michael Herzog 1 năm trước cách đây
mục cha
commit
2ac92c82f0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/misc_controls_transform.html

+ 1 - 1
examples/misc_controls_transform.html

@@ -100,7 +100,7 @@
 							break;
 
 						case 16: // Shift
-							control.setTranslationSnap( 100 );
+							control.setTranslationSnap( 1 );
 							control.setRotationSnap( THREE.MathUtils.degToRad( 15 ) );
 							control.setScaleSnap( 0.25 );
 							break;