diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-15 19:14:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-15 19:14:57 +0300 |
commit | 86bbab7de53b07ad9a45b11dbff6bd5c0ee40c14 (patch) | |
tree | d3c0085903e25c08fcedf1426de535e27c9b2526 /source/blender/blenlib/intern | |
parent | f66912a3351fc094e30daa5de53bef734493ad66 (diff) |
remove/comment unused defines.
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/math_base_inline.c | 6 | ||||
-rw-r--r-- | source/blender/blenlib/intern/math_geom_inline.c | 6 | ||||
-rw-r--r-- | source/blender/blenlib/intern/math_vector_inline.c | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/blenlib/intern/math_base_inline.c b/source/blender/blenlib/intern/math_base_inline.c index fc413457122..e54b84d7aaf 100644 --- a/source/blender/blenlib/intern/math_base_inline.c +++ b/source/blender/blenlib/intern/math_base_inline.c @@ -32,8 +32,8 @@ #include "BLI_math.h" -#ifndef BLI_MATH_BASE_INLINE -#define BLI_MATH_BASE_INLINE +#ifndef BLI_MATH_BASE_INLINE_H +#define BLI_MATH_BASE_INLINE_H /* A few small defines. Keep'em local! */ #define SMALL_NUMBER 1.e-8 @@ -127,5 +127,5 @@ MINLINE float signf(float f) return (f < 0.f)? -1.f: 1.f; } -#endif /* BLI_MATH_BASE_INLINE */ +#endif /* BLI_MATH_BASE_INLINE_H */ diff --git a/source/blender/blenlib/intern/math_geom_inline.c b/source/blender/blenlib/intern/math_geom_inline.c index f2d8e27cbd5..c583990fef7 100644 --- a/source/blender/blenlib/intern/math_geom_inline.c +++ b/source/blender/blenlib/intern/math_geom_inline.c @@ -27,8 +27,8 @@ #include "BLI_math.h" -#ifndef BLI_MATH_GEOM_INLINE -#define BLI_MATH_GEOM_INLINE +#ifndef BLI_MATH_GEOM_INLINE_H +#define BLI_MATH_GEOM_INLINE_H /****************************** Spherical Harmonics **************************/ @@ -134,5 +134,5 @@ MINLINE void madd_sh_shfl(float r[9], float sh[3], float f) add_sh_shsh(r, r, tmp); } -#endif /* BLI_MATH_GEOM_INLINE */ +#endif /* BLI_MATH_GEOM_INLINE_H */ diff --git a/source/blender/blenlib/intern/math_vector_inline.c b/source/blender/blenlib/intern/math_vector_inline.c index b0666d2ed5d..8f00e7b6d0c 100644 --- a/source/blender/blenlib/intern/math_vector_inline.c +++ b/source/blender/blenlib/intern/math_vector_inline.c @@ -27,8 +27,8 @@ #include "BLI_math.h" -#ifndef BLI_MATH_VECTOR_INLINE -#define BLI_MATH_VECTOR_INLINE +#ifndef BLI_MATH_VECTOR_INLINE_H +#define BLI_MATH_VECTOR_INLINE_H /********************************** Init *************************************/ @@ -482,5 +482,5 @@ MINLINE float line_point_side_v2(const float *l1, const float *l2, const float * ((l2[0]-pt[0]) * (l1[1]-pt[1])); } -#endif /* BLI_MATH_VECTOR_INLINE */ +#endif /* BLI_MATH_VECTOR_INLINE_H */ |