box(w, [h], [d]);
Draw a 3D box
Arguments
w
The width dimension[h]
The height dimension[d]
The depth dimensionfunction setup()
createWindow(800, 800, GL3D);
end
function draw()
background(51);
box(50, 25, 80);
end
box(w, [h], [d]);
Draw a 3D box
w
The width dimension[h]
The height dimension[d]
The depth dimensionfunction setup()
createWindow(800, 800, GL3D);
end
function draw()
background(51);
box(50, 25, 80);
end