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

Fixed canvas_geometry_shapes example.

上级 6d9a6cb4
......@@ -82,6 +82,8 @@
// line
var geometry = shape.createPointsGeometry();
geometry.vertices.push( geometry.vertices[ 0 ].clone() );
var material = new THREE.LineBasicMaterial( { linewidth: 10, color: 0x333333, transparent: true } );
var line = new THREE.Line( geometry, material );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册