Skip to content

Commit

Permalink
Docs: Modify ‘round’ to ‘orbit’
Browse files Browse the repository at this point in the history
  • Loading branch information
1993heqiang committed Jan 25, 2021
1 parent 0feaa91 commit e5d85f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/examples/en/controls/OrbitControls.html
Expand Up @@ -87,7 +87,7 @@ <h3>[property:Boolean autoRotate]</h3>
<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>

Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/OrbitControls.js
Expand Up @@ -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 };
Expand Down

0 comments on commit e5d85f6

Please sign in to comment.