Przeglądaj źródła

Merge pull request #14646 from takahirox/FixOrbitControlsDoc

Fix return value type of OrbitControls.update() in Doc
Mr.doob 7 lat temu
rodzic
commit
f29976f075
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      docs/examples/controls/OrbitControls.html

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

@@ -273,7 +273,7 @@ controls.mouseButtons = {
 			Save the current state of the controls. This can later be recovered with [page:.reset].
 			Save the current state of the controls. This can later be recovered with [page:.reset].
 		</p>
 		</p>
 
 
-		<h3>[method:false update] ()</h3>
+		<h3>[method:Boolean update] ()</h3>
 		<p>
 		<p>
 			Update the controls. Must be called after any manual changes to the camera's transform,
 			Update the controls. Must be called after any manual changes to the camera's transform,
 			or in the update loop if [page:.autoRotate] or [page:.enableDamping] are set.
 			or in the update loop if [page:.autoRotate] or [page:.enableDamping] are set.

粤ICP备19079148号