GitBrincie212 / 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
2 stars 1 forks source link

Cuboid standardization #52

Closed DarthSharkie closed 1 month ago

DarthSharkie commented 1 month ago

ParticleCuboid amount handling has long had a "this isn't done right, needs to be better" comment on it, so this addresses that. It adds specific methods to get and set the amounts on the cuboid. It also changes the relationship between the vector components and which lines are affected. I think it's most likely that the lines parallel to x-axis will all need the same amount, and similarly for y and z-axes.

Also, the rotation and transformation of the vertices should be after the before interceptor, so the interceptor can modify the points in a manner similar to other line-based particle objects. This does that, too.