فهرست منبع

Merge pull request #14646 from takahirox/FixOrbitControlsDoc

Fix return value type of OrbitControls.update() in Doc
Mr.doob 7 سال پیش
والد
کامیت
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].
 		</p>
 
-		<h3>[method:false update] ()</h3>
+		<h3>[method:Boolean update] ()</h3>
 		<p>
 			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.