Преглед на файлове

Merge branch 'master' of https://github.com/erich666/three.js into dev

Mr.doob преди 12 години
родител
ревизия
973d261a44
променени са 4 файла, в които са добавени 7 реда и са изтрити 8 реда
  1. 2 2
      docs/api/cameras/PerspectiveCamera.html
  2. 1 1
      docs/api/math/Matrix4.html
  3. 0 5
      docs/api/math/Vector3.html
  4. 4 0
      examples/js/controls/RollControls.js

+ 2 - 2
docs/api/cameras/PerspectiveCamera.html

@@ -34,10 +34,10 @@ scene.add( camera );</code>
 		<h2>Properties</h2>
 
 		<h3>.[page:Float fov]</h3>
-		<div>Camera frustum vertical field of view.</div>
+		<div>Camera frustum vertical field of view, from bottom to top of view, in degrees.</div>
 
 		<h3>.[page:Float aspect]</h3>
-		<div>Camera frustum aspect ratio.</div>
+		<div>Camera frustum aspect ratio, window width divided by window height.</div>
 
 		<h3>.[page:Float near]</h3>
 		<div>Camera frustum near plane.</div>

+ 1 - 1
docs/api/math/Matrix4.html

@@ -267,7 +267,7 @@
 
 		<h3>.makeRotationAxis( [page:Vector3 axis], [page:Float theta] ) [page:Matrix4]</h3>
 		<div>
-		axis — Rotation axis.
+		axis — Rotation axis, should be normalized.
 		theta — Rotation angle in radians.
 		</div>
 		<div>

+ 0 - 5
docs/api/math/Vector3.html

@@ -135,11 +135,6 @@
 		Computes squared distance of this vector to *v*.
 		</div>
 
-		<h3>.normalize() [page:Vector3]</h3>
-		<div>
-		Normalizes this vector.
-		</div>
-
 		<h3>.setLength( [page:Float l] ) [page:Vector3]</h3>
 		<div>
 		Normalizes this vector and multiplies it by *l*.

+ 4 - 0
examples/js/controls/RollControls.js

@@ -1,6 +1,10 @@
 /**
  * @author mikael emtinger / http://gomo.se/
  * @author alteredq / http://alteredqualia.com/
+ *
+ * Eye is fixed in position, camera's up is fixed to +Y, direction is constantly 
+ * updated, with direction of mouse on screen compared to screen's center determining
+ * the direction of drift.
  */
 
 THREE.RollControls = function ( object, domElement ) {