Parcourir la source

Examples: Improve webgpu_reflection.html (#31379)

* Examples: Improve webgpu_reflection.html

* Update webgpu_reflection.html

Remove GUI.

---------

Co-authored-by: Michael Herzog <michael.herzog@human-interactive.org>
林炳权 il y a 6 mois
Parent
commit
7013af9a5c
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      examples/webgpu_reflection.html

+ 1 - 0
examples/webgpu_reflection.html

@@ -122,6 +122,7 @@
 				controls.minDistance = 1;
 				controls.maxDistance = 10;
 				controls.maxPolarAngle = Math.PI / 2;
+				controls.enableDamping = true;
 				controls.autoRotate = true;
 				controls.autoRotateSpeed = 1;
 				controls.target.set( 0, 1, 0 );

粤ICP备19079148号