DarthSharkie / Apel-Mod

Apel is a library that brings particle animations to the table with flexible behaviour and a clean developer interface. It promises also lots of predefined shapes & paths to help the developer on their particle scene
Other
0 stars 0 forks source link

Should `ParticleObjects` create the `Instruction` instances? #37

Open DarthSharkie opened 4 months ago

DarthSharkie commented 4 months ago

See if it makes sense to have ParticleObjects create the Instruction instances, so the renderer calls become draw(Instruction, offset, rotation, step?) which uses computePoints and drawParticle to achieve optimal allocation and manipulation.

See discussion here: https://github.com/DarthSharkie/Apel-Mod/issues/11#issuecomment-2190764578