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;