Declaration
public static IEnumerable<VertexInfo[]> Hemisphere(
double radius,
int revStepsLat = 32,
int revStepsLong = 32,
bool noBottomCap = false
)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. |
| bool | noBottomCap |
If true, generates a hemisphere without the bottom cap. |
Returns
A collection of faces.