code cleanup

* correct cmake/clang warning.
* use same include guard names as everywhere else for BLI math inline.
* correct define for madd_sh_shfl
This commit is contained in:
2012-02-25 09:02:05 +00:00
parent 57fd1fe00e
commit c955272ec5
5 changed files with 16 additions and 20 deletions

View File

@@ -30,8 +30,8 @@
#include "BLI_math.h"
#ifndef BLI_MATH_VECTOR_INLINE_H
#define BLI_MATH_VECTOR_INLINE_H
#ifndef __MATH_VECTOR_INLINE_C__
#define __MATH_VECTOR_INLINE_C__
/********************************** Init *************************************/
@@ -627,5 +627,4 @@ MINLINE float line_point_side_v2(const float l1[2], const float l2[2], const flo
((l2[0]-pt[0]) * (l1[1]-pt[1]));
}
#endif /* BLI_MATH_VECTOR_INLINE_H */
#endif /* __MATH_VECTOR_INLINE_C__ */