diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-07 14:19:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-07 16:43:00 +0300 |
commit | 5a43406e1bad973a8cb32702b4fdb588068a6dcd (patch) | |
tree | b47ac75f429b586950dab5300669c373023efab8 /source/blender/makesdna/DNA_object_fluidsim_types.h | |
parent | 0215caeac2ad013fa03e2799049f5358d951ebfa (diff) |
Cleanup: move DNA comments before struct members
Needed for clang-format in some cases, see: T53211
Diffstat (limited to 'source/blender/makesdna/DNA_object_fluidsim_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_object_fluidsim_types.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_object_fluidsim_types.h b/source/blender/makesdna/DNA_object_fluidsim_types.h index 9ddae38edf2..6a211da6fda 100644 --- a/source/blender/makesdna/DNA_object_fluidsim_types.h +++ b/source/blender/makesdna/DNA_object_fluidsim_types.h @@ -47,7 +47,8 @@ typedef struct FluidVertexVelocity { } FluidVertexVelocity; typedef struct FluidsimSettings { - struct FluidsimModifierData *fmd; /* for fast RNA access */ + /** For fast RNA access. */ + struct FluidsimModifierData *fmd; /* threadcont the calculation is done with */ int threads; int pad1; @@ -102,7 +103,10 @@ typedef struct FluidsimSettings { /* additional flags depending on the type, lower short contains flags * to check validity, higher short additional flags */ short typeFlags; - /* switch off velocity generation, volume init type for fluid/obstacles (volume=1, shell=2, both=3) */ + /** + * Switch off velocity generation, + * volume init type for fluid/obstacles (volume=1, shell=2, both=3). + */ char domainNovecgen, volumeInitType; /* boundary "stickiness" for part slip values */ @@ -114,18 +118,19 @@ typedef struct FluidsimSettings { float generateParticles; /* smooth fluid surface? */ float surfaceSmoothing; - /* number of surface subdivisions*/ + /** Number of surface subdivisions. */ int surfaceSubdivs; - int flag; /* GUI flags */ + /** GUI flags. */ + int flag; - /* particle display - size scaling, and alpha influence */ + /** Particle display - size scaling, and alpha influence. */ float particleInfSize, particleInfAlpha; /* testing vars */ float farFieldSize; - /* vertex velocities of simulated fluid mesh */ + /** Vertex velocities of simulated fluid mesh. */ struct FluidVertexVelocity *meshVelocities; - /* number of vertices in simulated fluid mesh */ + /** Number of vertices in simulated fluid mesh. */ int totvert; /* Fluid control settings */ @@ -140,7 +145,7 @@ typedef struct FluidsimSettings { int lastgoodframe; - /* Simulation/flow rate control (i.e. old "Fac-Time") */ + /** Simulation/flow rate control (i.e. old "Fac-Time"). */ float animRate; } FluidsimSettings; |