Declaration
public static IEnumerable<VertexInfo[]> Sphere(
double radius,
int revStepsLat = 32,
int revStepsLong = 32
)
Summary
Generates a sphere centered on the origin.
Parameters
double | radius |
Radius of the sphere. |
int | revStepsLat |
Number of steps of revolution between equator and poles. Higher numbers make the model look smoother but
generate more data. |
int | revStepsLong |
Number of steps of revolution along the equatorial circumference. Higher numbers make the model look smoother
but generate more data. |
Returns
A collection of faces.