sphere()
Shape / 3D PrimitivesDescription
Draws a sphere. Use sphereDetail() to control tessellation. Must be in P3D mode.
Syntax
void sphere(float r)
Parameters
| Name | Type | Description |
|---|---|---|
| r | float | radius of the sphere |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...