MCPcopy Index your code
hub / github.com/benfry/processing4 / box

Method box

core/src/processing/core/PGraphics.java:3082–3084  ·  view source on GitHub ↗

A box is an extruded rectangle . A box with equal dimension on all sides is a cube. @webref shape:3d primitives @webBrief A box is an extruded rectangle @param size dimension of the box in all dimensions (creates a cube) @see PGraphics#sphere(float)

(float size)

Source from the content-addressed store, hash-verified

3080 * @see PGraphics#sphere(float)
3081 */
3082 public void box(float size) {
3083 box(size, size, size);
3084 }
3085
3086
3087 /**

Callers

nothing calls this directly

Calls 4

beginShapeMethod · 0.95
normalMethod · 0.95
vertexMethod · 0.95
endShapeMethod · 0.95

Tested by

no test coverage detected