Updated examples

This commit is contained in:
codeanticode
2011-02-12 15:57:36 +00:00
parent b78cf2eb5f
commit f6c7ebcbdf
6 changed files with 16 additions and 13 deletions
+1 -1
View File
@@ -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