diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-17 02:08:47 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-17 02:08:47 +0300 |
commit | f4d7d5e75d60a372d29a5bab81115b8ba6064062 (patch) | |
tree | 645537a06c4142aec7868e2ce3f104411682002b /source/blender/blenkernel | |
parent | bc92d0552252a0e992ccf8d935b50567bd97ff0e (diff) |
Cleanup: sort struct declarations
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/BKE_fluid.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/BKE_pbvh.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/BKE_pointcache.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/fluid.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_fluid.h b/source/blender/blenkernel/BKE_fluid.h index 881653dc5ee..6c182994890 100644 --- a/source/blender/blenkernel/BKE_fluid.h +++ b/source/blender/blenkernel/BKE_fluid.h @@ -24,9 +24,9 @@ * \ingroup bke */ -struct Scene; struct FluidDomainSettings; struct FluidModifierData; +struct Scene; typedef float (*BKE_Fluid_BresenhamFn)( float *result, float *input, int res[3], int *pixel, float *tRay, float correct); diff --git a/source/blender/blenkernel/BKE_pbvh.h b/source/blender/blenkernel/BKE_pbvh.h index 570203081fe..e1e4b99fe53 100644 --- a/source/blender/blenkernel/BKE_pbvh.h +++ b/source/blender/blenkernel/BKE_pbvh.h @@ -40,11 +40,11 @@ struct CustomData; struct DMFlagMat; struct GPU_PBVH_Buffers; struct IsectRayPrecalc; -struct Mesh; struct MLoop; struct MLoopTri; struct MPoly; struct MVert; +struct Mesh; struct PBVH; struct PBVHNode; struct SubdivCCG; diff --git a/source/blender/blenkernel/BKE_pointcache.h b/source/blender/blenkernel/BKE_pointcache.h index 2ebe485419a..fd29480cac7 100644 --- a/source/blender/blenkernel/BKE_pointcache.h +++ b/source/blender/blenkernel/BKE_pointcache.h @@ -75,6 +75,7 @@ /* Structs */ struct ClothModifierData; +struct FluidModifierData; struct ListBase; struct Main; struct Object; @@ -83,7 +84,6 @@ struct ParticleSystem; struct PointCache; struct RigidBodyWorld; struct Scene; -struct FluidModifierData; struct SoftBody; struct ViewLayer; diff --git a/source/blender/blenkernel/intern/fluid.c b/source/blender/blenkernel/intern/fluid.c index a996b8e8cd3..876a91a2bd3 100644 --- a/source/blender/blenkernel/intern/fluid.c +++ b/source/blender/blenkernel/intern/fluid.c @@ -78,10 +78,10 @@ static ThreadMutex object_update_lock = BLI_MUTEX_INITIALIZER; +struct FluidModifierData; struct Mesh; struct Object; struct Scene; -struct FluidModifierData; // timestep default value for nice appearance 0.1f # define DT_DEFAULT 0.1f |