mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Updated examples
This commit is contained in:
@@ -15,7 +15,7 @@ void setup() {
|
||||
// it will hold (this number cannot be changed later). Also, how
|
||||
// the vertices will be connected is specified here (this can be
|
||||
// changed later though).
|
||||
cube = createShape(36, TRIANGLES);
|
||||
cube = (PShape3D)createShape(36, PShape3D.newParameters(TRIANGLES));
|
||||
|
||||
// The vertices array gives access to all the vertex data
|
||||
// in the PShape3D object. It can only be used between
|
||||
|
||||
Reference in New Issue
Block a user