Bladeren bron

Docs: Modify ‘round’ to ‘orbit’

heqiang 4 jaren geleden
bovenliggende
commit
e5d85f62dd
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      docs/examples/en/controls/OrbitControls.html
  2. 1 1
      examples/js/controls/OrbitControls.js

+ 1 - 1
docs/examples/en/controls/OrbitControls.html

@@ -87,7 +87,7 @@
 		<h3>[property:Float autoRotateSpeed]</h3>
 		<p>
 			How fast to rotate around the target if [page:.autoRotate] is true. Default is 2.0, which equates to 30 seconds
-			per round at 60fps.<br> Note that if [page:.autoRotate] is enabled, you must call [page:.update]
+			per orbit at 60fps.<br> Note that if [page:.autoRotate] is enabled, you must call [page:.update]
 			() in your animation loop.
 		</p>
 

+ 1 - 1
examples/js/controls/OrbitControls.js

@@ -60,7 +60,7 @@ THREE.OrbitControls = function ( object, domElement ) {
 	// Set to true to automatically rotate around the target
 	// If auto-rotate is enabled, you must call controls.update() in your animation loop
 	this.autoRotate = false;
-	this.autoRotateSpeed = 2.0; // 30 seconds per round when fps is 60
+	this.autoRotateSpeed = 2.0; // 30 seconds per orbit when fps is 60
 
 	// The four arrow keys
 	this.keys = { LEFT: 37, UP: 38, RIGHT: 39, BOTTOM: 40 };