Support for 2D particles to collide against SDF

-Added SDF collision support for 2D particles
-Changed the SDF generation to be fully signed
This commit is contained in:
reduz 2021-05-20 11:25:06 -03:00
parent 809948f977
commit 789713b008
20 changed files with 684 additions and 158 deletions

View file

@ -672,6 +672,7 @@ public:
enum ParticlesDrawOrder {
PARTICLES_DRAW_ORDER_INDEX,
PARTICLES_DRAW_ORDER_LIFETIME,
PARTICLES_DRAW_ORDER_REVERSE_LIFETIME,
PARTICLES_DRAW_ORDER_VIEW_DEPTH,
};