提交 9a09bee7 编写于 作者: L looeee

Updated code example catmullrom doc

上级 119047d2
......@@ -31,6 +31,9 @@ var geometry = new THREE.Geometry();
geometry.vertices = curve.getPoints( 50 );
var material = new THREE.LineBasicMaterial( { color : 0xff0000 } );
// Create the final object to add to the scene
var curveObject = new THREE.Line( geometry, material );
</code>
<h3>[example:webgl_geometry_extrude_splines geometry / extrude / splines]</h3>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册