未验证 提交 c63bb302 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #14085 from paulmasson/patch-3

Add error for new behavior of parametric geometries
......@@ -63,6 +63,12 @@ function ParametricBufferGeometry( func, slices, stacks ) {
var i, j;
if ( func.length < 3 ) {
console.error( 'THREE.ParametricGeometry: Function must now modify a Vector3 as third parameter.' );
}
// generate vertices, normals and uvs
var sliceCount = slices + 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册