Sfoglia il codice sorgente

Merge pull request #14646 from takahirox/FixOrbitControlsDoc

Fix return value type of OrbitControls.update() in Doc
Mr.doob 7 anni fa
parent
commit
f29976f075
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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.