Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-01-14 08:30:43 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-14 08:30:43 +0300
commitf91b21f85bdc10c3ad31e9b3cacbd912bc6517c2 (patch)
tree5618d161ab6780ff60dffc98770bcbf790e0f00d /source/blender/makesdna/DNA_smoke_types.h
parenta1d73d03eb91be72b0f10ff4a9c6eb00f04b97c6 (diff)
Cleanup: move comments above definitions
For clang-format not to wrap definitions.
Diffstat (limited to 'source/blender/makesdna/DNA_smoke_types.h')
-rw-r--r--source/blender/makesdna/DNA_smoke_types.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_smoke_types.h b/source/blender/makesdna/DNA_smoke_types.h
index cc29ea3705c..a5bea9113c4 100644
--- a/source/blender/makesdna/DNA_smoke_types.h
+++ b/source/blender/makesdna/DNA_smoke_types.h
@@ -283,10 +283,16 @@ typedef struct SmokeDomainSettings {
#define MOD_SMOKE_FLOW_TEXTURE_MAP_UV 1
/* flags */
-#define MOD_SMOKE_FLOW_ABSOLUTE (1<<1) /*old style emission*/
-#define MOD_SMOKE_FLOW_INITVELOCITY (1<<2) /* passes particles speed to the smoke */
-#define MOD_SMOKE_FLOW_TEXTUREEMIT (1<<3) /* use texture to control emission speed */
-#define MOD_SMOKE_FLOW_USE_PART_SIZE (1<<4) /* use specific size for particles instead of closest cell */
+enum {
+ /**old style emission*/
+ MOD_SMOKE_FLOW_ABSOLUTE = (1 << 1),
+ /** passes particles speed to the smoke */
+ MOD_SMOKE_FLOW_INITVELOCITY = (1 << 2),
+ /** use texture to control emission speed */
+ MOD_SMOKE_FLOW_TEXTUREEMIT = (1 << 3),
+ /** use specific size for particles instead of closest cell */
+ MOD_SMOKE_FLOW_USE_PART_SIZE = (1 << 4),
+};
typedef struct SmokeFlowSettings {
/** For fast RNA access. */