diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-07 10:14:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-07 10:15:15 +0300 |
commit | 6483dee1412e1da79e84f5ae791ea94c7aff15bf (patch) | |
tree | 3963d652df7a07c730aa30cf7ed27c9398ad5ddf /source/blender/blenkernel/BKE_effect.h | |
parent | ffc4c126f5416b04a01653e7a03451797b98aba4 (diff) |
Cleanup: replace int with bool type
Diffstat (limited to 'source/blender/blenkernel/BKE_effect.h')
-rw-r--r-- | source/blender/blenkernel/BKE_effect.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/blenkernel/BKE_effect.h b/source/blender/blenkernel/BKE_effect.h index 030b351f926..f33ca2f03d1 100644 --- a/source/blender/blenkernel/BKE_effect.h +++ b/source/blender/blenkernel/BKE_effect.h @@ -157,15 +157,15 @@ float effector_falloff(struct EffectorCache *eff, struct EffectorData *efd, struct EffectedPoint *point, struct EffectorWeights *weights); -int closest_point_on_surface(struct SurfaceModifierData *surmd, - const float co[3], - float surface_co[3], - float surface_nor[3], - float surface_vel[3]); -int get_effector_data(struct EffectorCache *eff, - struct EffectorData *efd, - struct EffectedPoint *point, - int real_velocity); +bool closest_point_on_surface(struct SurfaceModifierData *surmd, + const float co[3], + float surface_co[3], + float surface_nor[3], + float surface_vel[3]); +bool get_effector_data(struct EffectorCache *eff, + struct EffectorData *efd, + struct EffectedPoint *point, + int real_velocity); /* required for particle_system.c */ #if 0 |