diff options
author | Janne Karhu <jhkarh@gmail.com> | 2008-01-01 04:00:05 +0300 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2008-01-01 04:00:05 +0300 |
commit | d5e491c3ef0d2c7d9d7dc68ad680c2e9e53463a0 (patch) | |
tree | aa425596fd4a72fb02703f189936ce20f6595374 /source/blender/makesdna/DNA_particle_types.h | |
parent | b3e5f6b4510bda7a32ab1ea346519c498790af70 (diff) |
Recoded particles initial rotations to allow much more flexible settings.
Diffstat (limited to 'source/blender/makesdna/DNA_particle_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_particle_types.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_particle_types.h b/source/blender/makesdna/DNA_particle_types.h index 942c837df97..f83c2a59799 100644 --- a/source/blender/makesdna/DNA_particle_types.h +++ b/source/blender/makesdna/DNA_particle_types.h @@ -133,13 +133,13 @@ typedef struct ParticleSettings { /* initial velocity factors */ float normfac, obfac, randfac, partfac, tanfac, tanphase, reactfac; - float rotfac, avefac, phasefac; + float avefac, phasefac, randrotfac, randphasefac; /* physical properties */ float mass, size, randsize, reactshape; /* global physical properties */ float acc[3], dragfac, brownfac, dampfac; /* length */ - float length, abslength, randlength, pad; + float length, abslength, randlength; /* children */ int child_nbr, ren_child_nbr; float parents, childsize, childrandsize; @@ -355,7 +355,12 @@ typedef struct ParticleSystem{ /* part->rotmode */ #define PART_ROT_NOR 1 #define PART_ROT_VEL 2 -#define PART_ROT_RAND 3 +#define PART_ROT_GLOB_X 3 +#define PART_ROT_GLOB_Y 4 +#define PART_ROT_GLOB_Z 5 +#define PART_ROT_OB_X 6 +#define PART_ROT_OB_Y 7 +#define PART_ROT_OB_Z 8 /* part->avemode */ #define PART_AVE_SPIN 1 |