Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_particle_types.h
| Show First 20 Lines • Show All 308 Lines • ▼ Show 20 Lines | typedef struct ParticleSystem { | ||||
| struct ParticleDrawData *pdd; | struct ParticleDrawData *pdd; | ||||
| float dt_frac; /* current time step, as a fraction of a frame */ | float dt_frac; /* current time step, as a fraction of a frame */ | ||||
| float _pad; /* spare capacity */ | float _pad; /* spare capacity */ | ||||
| } ParticleSystem; | } ParticleSystem; | ||||
| /* part->type */ | /* part->type */ | ||||
| typedef enum eParticleSettingsType { | |||||
| /* hair is allways baked static in object/geometry space */ | /* hair is allways baked static in object/geometry space */ | ||||
| /* other types (normal particles) are in global space and not static baked */ | /* other types (normal particles) are in global space and not static baked */ | ||||
| #define PART_EMITTER 0 | PART_EMITTER = 0, | ||||
| //#define PART_REACTOR 1 | //PART_REACTOR = 1, | ||||
| #define PART_HAIR 2 | PART_HAIR = 2, | ||||
| #define PART_FLUID 3 | PART_FLUID = 3 | ||||
| } eParticleSettingsType; | |||||
| /* part->flag */ | /* part->flag */ | ||||
| #define PART_REACT_STA_END 1 | #define PART_REACT_STA_END 1 | ||||
| #define PART_REACT_MULTIPLE 2 | #define PART_REACT_MULTIPLE 2 | ||||
| //#define PART_LOOP 4 /* not used anymore */ | //#define PART_LOOP 4 /* not used anymore */ | ||||
| /* for dopesheet */ | /* for dopesheet */ | ||||
| #define PART_DS_EXPAND 8 | #define PART_DS_EXPAND 8 | ||||
| ▲ Show 20 Lines • Show All 254 Lines • Show Last 20 Lines | |||||