noc-book-2 icon indicating copy to clipboard operation
noc-book-2 copied to clipboard

Particle System "origin" and addParticle()

Open shiffman opened this issue 5 years ago • 0 comments

nature-of-code/noc-book-2#75 is now merged but one thing I want to go back and look at is how the origin is stored and intialized with a particle system. Overall I find this passing in x,y and then creating a vector more clear than passing in a vector and calling copy(). In addition, some of the example there isn't a good reason to store an origin and it would make more sense to call addParticle(x,y).

shiffman avatar Feb 21 '20 00:02 shiffman