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
@@ -30,7 +30,7 @@ void setup() {
// The particle system is stored in a PShape3D object set to
// POINT_SPRITES mode
particles = createShape(numParticlesTotal, POINT_SPRITES, DYNAMIC);
particles = (PShape3D)createShape(numParticlesTotal, PShape3D.newParameters(POINT_SPRITES, DYNAMIC));
particleLifetime = numParticlesTotal / numParticlesPerFrame;
lifetimes = new int[numParticlesTotal];