Просмотр исходного кода

Merge pull request #14646 from takahirox/FixOrbitControlsDoc

Fix return value type of OrbitControls.update() in Doc
Mr.doob 7 лет назад
Родитель
Сommit
f29976f075
1 измененных файлов с 1 добавлено и 1 удалено
  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号