sphereDetail()
Shape / 3D PrimitivesDescription
Controls the detail used to render a sphere by adjusting the number of vertices.
Syntax
void sphereDetail(int res)
Parameters
| Name | Type | Description |
|---|---|---|
| res | int | number of segments (higher = smoother) |
Returns
voidRelated
Under the Hood
From Processing.h:
void sphereDetail(int res);
Under the Hood
From Processing.cpp:
void PApplet::sphereDetail(int r){sphereRes=r;}