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>2020-02-15 04:24:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-02-15 07:24:03 +0300
commit60475b95490fa5242e50fdef490d069396ba27ea (patch)
tree5f395991c063511f8037ef6d8e0d03c06cd12efa /source/blender/blenkernel
parentfa5837c5e8643ac68485ca7c10dd503c129a2d2f (diff)
Cleanup: remove various unused defines
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/BKE_effect.h3
-rw-r--r--source/blender/blenkernel/BKE_mesh_mapping.h7
2 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/blenkernel/BKE_effect.h b/source/blender/blenkernel/BKE_effect.h
index 94e8f4304b8..f223d2488bb 100644
--- a/source/blender/blenkernel/BKE_effect.h
+++ b/source/blender/blenkernel/BKE_effect.h
@@ -165,7 +165,6 @@ float effector_falloff(struct EffectorData *eff,
/* EffectedPoint->flag */
#define PE_WIND_AS_SPEED 1
-#define PE_DYNAMIC_ROTATION 2
#define PE_USE_NORMAL_DATA 4
/* EffectorData->flag */
@@ -173,8 +172,6 @@ float effector_falloff(struct EffectorData *eff,
/* ======== Simulation Debugging ======== */
-#define SIM_DEBUG_HASH_BASE 5381
-
unsigned int BKE_sim_debug_data_hash(int i);
unsigned int BKE_sim_debug_data_hash_combine(unsigned int kx, unsigned int ky);
diff --git a/source/blender/blenkernel/BKE_mesh_mapping.h b/source/blender/blenkernel/BKE_mesh_mapping.h
index 47eb4ef1423..65f090302be 100644
--- a/source/blender/blenkernel/BKE_mesh_mapping.h
+++ b/source/blender/blenkernel/BKE_mesh_mapping.h
@@ -244,13 +244,6 @@ int *BKE_mesh_calc_smoothgroups(const struct MEdge *medge,
int *r_totgroup,
const bool use_bitflags);
-/* No good (portable) way to have exported inlined functions... */
-#define BKE_MESH_TESSFACE_VINDEX_ORDER(_mf, _v) \
- ((CHECK_TYPE_INLINE(_mf, MFace *), CHECK_TYPE_INLINE(&(_v), unsigned int *)), \
- ((_mf->v1 == _v) ? \
- 0 : \
- (_mf->v2 == _v) ? 1 : (_mf->v3 == _v) ? 2 : (_mf->v4 && _mf->v4 == _v) ? 3 : -1))
-
/* use on looptri vertex values */
#define BKE_MESH_TESSTRI_VINDEX_ORDER(_tri, _v) \
((CHECK_TYPE_ANY( \