Browse Source

Update OrbitControls.html

WestLangley 6 năm trước cách đây
mục cha
commit
1895f25545
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      docs/examples/controls/OrbitControls.html

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

@@ -54,7 +54,7 @@ function animate() {
 
 		<h3>[name]( [param:Camera object], [param:HTMLDOMElement domElement] )</h3>
 		<p>
-			[page:Camera object]: (required) The camera to be controlled.<br><br>
+			[page:Camera object]: (required) The camera to be controlled. The camera must not be a child of another object, unless that object is the scene itself.<br><br>
 
 			[page:HTMLDOMElement domElement]: (optional) The HTML element used for event listeners. By default this is the whole document,
 			however if you only want the controls to work over a specific element (e.g. the canvas) you can specify that here.