Browse Source

Docs: Fix formatting issues in OrbitControls page.

Mugen87 4 years ago
parent
commit
cf0b35d653

+ 3 - 3
docs/examples/en/controls/OrbitControls.html

@@ -86,15 +86,15 @@
 
 		<h3>[property:Float autoRotateSpeed]</h3>
 		<p>
-			How fast to rotate around the target if [property:Boolean autoRotate] is true. Default is 2.0, which equates to 30 seconds
-			per rotation at 60fps.<br> Note that if [property:Boolean autoRotate] is enabled, you must call [page:.update]
+			How fast to rotate around the target if [page:.autoRotate] is true. Default is 2.0, which equates to 30 seconds
+			per rotation at 60fps.<br> Note that if [page:.autoRotate] is enabled, you must call [page:.update]
 			() in your animation loop.
 		</p>
 
 		<h3>
 			[property:Float dampingFactor]</h3>
 		<p>
-			The damping inertia used if [property:Boolean enableDamping] is set to true.<br> Note that for this to work, you must
+			The damping inertia used if [page:.enableDamping] is set to true.<br> Note that for this to work, you must
 			call [page:.update] () in your animation loop.
 		</p>
 

+ 3 - 3
docs/examples/zh/controls/OrbitControls.html

@@ -86,14 +86,14 @@
 
 		<h3>[property:Float autoRotateSpeed]</h3>
 		<p>
-			当[property:Boolean autoRotate]为true时,围绕目标旋转的速度将有多快,默认值为2.0,相当于在60fps时每旋转一次需要30秒。<br>
-			请注意,如果[property:Boolean autoRotate]被启用,你必须在你的动画循环里调用[page:.update]()。
+			当[page:.autoRotate]为true时,围绕目标旋转的速度将有多快,默认值为2.0,相当于在60fps时每旋转一次需要30秒。<br>
+			请注意,如果[page:.autoRotate]被启用,你必须在你的动画循环里调用[page:.update]()。
 		</p>
 
 		<h3>
 			[property:Float dampingFactor]</h3>
 		<p>
-			当[property:Boolean enableDamping]设置为true的时候,阻尼惯性有多大。<br>
+			当[page:.enableDamping]设置为true的时候,阻尼惯性有多大。<br>
 			请注意,要使得这一值生效,你必须在你的动画循环里调用[page:.update]()。
 		</p>