Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

Particle System: addparticle() first commit for collaboration git tutorial #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion NOC_4_09_AdditiveBlending/ParticleSystem.pde
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,21 @@ class ParticleSystem {
}

void run() {
//
// Iterator<Particle> it = particles.iterator();
// while (it.hasNext()) {
// Particle p = it.next();
// p.run();
// if (p.dead()) {
// it.remove();
// }
// }

}

void addParticle() {

particles.add(new Particle(origin));

}

void addParticle(Particle p) {
Expand Down