[page:Geometry] →
[name]
Class for generating meshes with axial symmetry. Possible uses include donuts, pipes, vases etc. The lathe rotate around the Z axis.
Constructor
[name]([page:Array points], [page:Integer segments], [page:Float phiStart], [page:Float phiLength])
points — Array of Vector3s. Since this rotates around Z axis, the y-values can be set to 0
segments — the number of circumference segments to generate. Default is 12.
phiStart — the starting angle in radians. Default is 0.
phiLength — the radian (0 to 2*PI) range of the lathed section 2*PI is a closed lathe, less than 2PI is a portion. Default is 2*PI
todo
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]