In cloth simulation example code there is something called ParametricBufferGeometry which takes 3 parameters What does that function actually mean ?
clothGeometry = new THREE.ParametricBufferGeometry(clothFunction, cloth.w, cloth.h);
In the docs I couldn't find any proper documentation for it It says
ParametricBufferGeometry(func : Function, slices : Integer, stacks : Integer) func — A function that takes in a u and v value each between 0 and 1 and modifies a third Vector3 argument slices — The count of slices to use for the parametric function stacks — The count of stacks to use for the parametric function
Could anyone explain me what it is actually ..