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:
authorJoseph Eagar <joeedh@gmail.com>2011-05-02 01:39:13 +0400
committerJoseph Eagar <joeedh@gmail.com>2011-05-02 01:39:13 +0400
commit088899236b0904c0a3d0fc5a92b0cb5ffd35cd17 (patch)
tree2d528fb9da3bba533e1ae42d7f2baa823d0d1f2e /source/blender/blenkernel/BKE_cloth.h
parent7cc98cbb0b6f2ef113a568532eb0921e77cc973d (diff)
=trunk=
Recommitted eltopo collision code (but disabled by default) with Genscher's permission. To use, you need to install liblapack and libblas
Diffstat (limited to 'source/blender/blenkernel/BKE_cloth.h')
-rw-r--r--source/blender/blenkernel/BKE_cloth.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/source/blender/blenkernel/BKE_cloth.h b/source/blender/blenkernel/BKE_cloth.h
index 1ee51cd2122..a5c88000db2 100644
--- a/source/blender/blenkernel/BKE_cloth.h
+++ b/source/blender/blenkernel/BKE_cloth.h
@@ -35,6 +35,7 @@
*/
#include <float.h>
+#include "BLI_math_inline.h"
struct Object;
struct ListBase;
@@ -44,16 +45,7 @@ struct DerivedMesh;
struct ClothModifierData;
struct CollisionTree;
-// this is needed for inlining behaviour
-#if defined _WIN32
-# define DO_INLINE __inline
-#elif defined (__sgi)
-# define DO_INLINE
-#elif defined (__sun) || defined (__sun__)
-# define DO_INLINE
-#else
-# define DO_INLINE static inline
-#endif
+#define DO_INLINE MALWAYS_INLINE
#define CLOTH_MAX_THREAD 2