diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-12 22:24:50 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:10 +0300 |
commit | 9bf763393603a987aa95033b2da78cea501d699b (patch) | |
tree | 2ed512e21cd20b25953aee78d140236921f85556 /source/blender/makesdna | |
parent | c2306919b7cafdf4dbca876a4fea2f9f0681ef78 (diff) |
Spiral kink mode for particles.
This is BAD code, but the particle kinking does not make it easy to
write a non-local modifier that requires neighboring positions,
curvature, etc. The feature is needed for Gooseberry.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_particle_types.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_particle_types.h b/source/blender/makesdna/DNA_particle_types.h index 8bae57a7cbd..dd046f35968 100644 --- a/source/blender/makesdna/DNA_particle_types.h +++ b/source/blender/makesdna/DNA_particle_types.h @@ -417,11 +417,14 @@ typedef enum eParticleDrawFlag { #define PART_PHYS_FLUID 4 /* part->kink */ -#define PART_KINK_NO 0 -#define PART_KINK_CURL 1 -#define PART_KINK_RADIAL 2 -#define PART_KINK_WAVE 3 -#define PART_KINK_BRAID 4 +typedef enum eParticleKink { + PART_KINK_NO = 0, + PART_KINK_CURL = 1, + PART_KINK_RADIAL = 2, + PART_KINK_WAVE = 3, + PART_KINK_BRAID = 4, + PART_KINK_SPIRAL = 5, +} eParticleKink; /* part->kink_flag */ typedef enum eParticleChildFlag { |