提交 dc7b4220 编写于 作者: E Eric Haines

Doc additions

Remove redundant normalize() in Vector3.html (there were two). Other
additions.
上级 3b4457e5
......@@ -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>
......
......@@ -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>
......
......@@ -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*.
......
/**
* @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 ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册