提交 fddb8ca0 编写于 作者: A Alvaro Gil 提交者: zz85

fix createGeometry ignoring point.z

上级 2ceae006
......@@ -204,7 +204,7 @@ THREE.CurvePath.prototype.createGeometry = function( points ) {
for ( var i = 0; i < points.length; i ++ ) {
geometry.vertices.push( new THREE.Vector3( points[ i ].x, points[ i ].y, 0 ) );
geometry.vertices.push( new THREE.Vector3( points[ i ].x, points[ i ].y, points[ i ].z ) );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册