SphereGeometry constructor
Builds a sphere of the given radius and tessellation.
Implementation
factory SphereGeometry({
double radius = 0.5,
int segments = 32,
int rings = 16,
}) {
return SphereGeometry._(
buildSphereArrays(radius: radius, segments: segments, rings: rings),
);
}