sphereDetail()

Shape / 3D Primitives

Description

Controls the detail used to render a sphere by adjusting the number of vertices.

Syntax

void sphereDetail(int res)

Parameters

NameTypeDescription
resintnumber of segments (higher = smoother)

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...