|
@@ -282,6 +282,11 @@ controls.touches = {
|
|
|
Get the current vertical rotation, in radians.
|
|
|
</p>
|
|
|
|
|
|
+ <h3>[method:Float getDistance] ()</h3>
|
|
|
+ <p>
|
|
|
+ Returns the distance from the camera to the target.
|
|
|
+ </p>
|
|
|
+
|
|
|
<h3>[method:void listenToKeyEvents] ( [param:HTMLDOMElement domElement] )</h3>
|
|
|
<p>
|
|
|
Adds key event listeners to the given DOM element. *window* is a recommended argument for using this method.
|