提交 eb80209b 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #10410 from looeee/docs/camera/near_far

Fixed errors in #10395 - Updated near and far descriptions for Orthographic and Perspective Camera
......@@ -67,8 +67,7 @@ scene.add( camera );</code>
<div>
Camera frustum far plane. Default is *2000*.<br /><br />
Note that Three does not currently give warnings for incorrect values here, however the expected
range is between the current value of the [page:.far far] plane and infinity.
The valid range is between the current value of the [page:.near near] plane and infinity.
</div>
<h3>[property:Boolean isOrthographicCamera]</h3>
......@@ -83,10 +82,11 @@ scene.add( camera );</code>
<h3>[property:Float near]</h3>
<div>
Camera fustum near plane. Default is *0.1*.<br /><br />
Camera frustum near plane. Default is *0.1*.<br /><br />
Note that Three does not currently give warnings for incorrect values here, however the expected
range is between 0 and the current value of the [page:.far far] plane.
The valid range is between 0 and the current value of the [page:.far far] plane.
Note that, unlike for the [page:PerspectiveCamera], *0* is a valid value for an
OrthographicCamera's near plane.
</div>
<h3>[property:Float right]</h3>
......
......@@ -57,8 +57,7 @@ scene.add( camera );</code>
<div>
Camera frustum far plane. Default is *2000*.<br /><br />
Note that Three does not currently give warnings for incorrect values here, however the expected
range is between the current value of the [page:.far far] plane and infinity.
The valid range is between the current value of the [page:.near near] plane and infinity.
</div>
<h3>[property:Float filmGauge]</h3>
......@@ -86,10 +85,11 @@ scene.add( camera );</code>
<h3>[property:Float near]</h3>
<div>
Camera fustum near plane. Default is *0.1*.<br /><br />
Camera frustum near plane. Default is *0.1*.<br /><br />
Note that Three does not currently give warnings for incorrect values here, however the expected
range is between 0 and the current value of the [page:.far far] plane.
The valid range is greater than 0 and less than the current value of the [page:.far far] plane.
Note that, unlike for the [page:OrthographicCamera], *0* is <em>not</em> a valid value
for a PerspectiveCamera's near plane.
</div>
<h3>[property:Object view]</h3>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册