Create a new SphereGeometry instance.
Optionalopts: {An object that specifies optional inputs for the function as follows:
OptionalcalculateTangents?: booleanGenerate tangent information (defaults to false).
OptionallatitudeBands?: numberThe number of divisions along the latitudinal axis of the sphere (defaults to 16).
OptionallongitudeBands?: numberThe number of divisions along the longitudinal axis of the sphere (defaults to 16).
Optionalradius?: numberThe radius of the sphere (defaults to 0.5).
A procedural sphere-shaped geometry.
The size and tesselation properties of the sphere can be controlled via constructor parameters. By default, the function will create a sphere centered on the object space origin with a radius of 0.5 and 16 segments in both longitude and latitude.
Note that the sphere is created with UVs in the range of 0 to 1.