提交 3faa1ad0 编写于 作者: L looeee

Minor improvements to QuadraticBezierCurve3 doc

上级 66bef694
......@@ -13,7 +13,9 @@
<h1>[name]</h1>
<div class="desc">
Create a smooth 3d <a href="http://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:B%C3%A9zier_2_big.gif" target="_blank">quadratic bezier curve</a>.
Create a smooth 3d
<a href="http://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:B%C3%A9zier_2_big.gif" target="_blank">quadratic bezier curve</a>,
defined by a startpoint, endpoint and a single control point.
</div>
<h2>Example</h2>
......@@ -30,7 +32,7 @@ geometry.vertices = curve.getPoints( 50 );
var material = new THREE.LineBasicMaterial( { color : 0xff0000 } );
// Create the final Object3d to add to the scene
// Create the final object to add to the scene
var curveObject = new THREE.Line( geometry, material );
</code>
......@@ -47,18 +49,20 @@ var curveObject = new THREE.Line( geometry, material );
<h2>Properties</h2>
<div>See the base [page:Curve] class for common properties.</div>
<h3>[property:Vector3 v0]</h3>
<div>The startpoint.</div>
<h3>[property:Vector3 v1]</h3>
<div>The control point.</div>
<h3>[property:Vector3 v2]</h3>
<div>The endpoint.</div>
<h2>Methods</h2>
<h3>See [page:Curve] for inherited methods</h3>
<div>See the base [page:Curve] class for common methods.</div>
<h2>Source</h2>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册