2 new area particle distributions: borderellipse and borderrectangle

--HG--
branch : particle system new features
This commit is contained in:
lognz
2017-03-10 06:42:52 -06:00
parent 856a4e60ae
commit 09b757f018
2 changed files with 41 additions and 5 deletions
+3 -1
View File
@@ -52,7 +52,7 @@ public:
static love::Type type;
/**
* Type of distribution new particles are drawn from: None, uniform, normal, ellipse.
* Type of distribution new particles are drawn from: None, uniform, normal, ellipse, borderellipse, borderrectangle.
*/
enum AreaSpreadDistribution
{
@@ -60,6 +60,8 @@ public:
DISTRIBUTION_UNIFORM,
DISTRIBUTION_NORMAL,
DISTRIBUTION_ELLIPSE,
DISTRIBUTION_BORDER_ELLIPSE,
DISTRIBUTION_BORDER_RECTANGLE,
DISTRIBUTION_MAX_ENUM
};