diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-20 21:23:52 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-20 21:23:52 +0400 |
commit | 3449c0270a622150987e2a5fd6cffab703d1179e (patch) | |
tree | 8e2e50245bd494739ce958e3e5a2a7630ffe063d /source/blender/modifiers | |
parent | 8cf8fd7326f0961bad2cd633092fccbcadf0cc92 (diff) |
Another set of fixes for MSVC
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_navmesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_navmesh.c b/source/blender/modifiers/intern/MOD_navmesh.c index 5a8c79ba4dd..cf4e01ad516 100644 --- a/source/blender/modifiers/intern/MOD_navmesh.c +++ b/source/blender/modifiers/intern/MOD_navmesh.c @@ -48,12 +48,12 @@ #include "BKE_customdata.h" #include "MEM_guardedalloc.h" -static int bit(int a, int b) +BM_INLINE int bit(int a, int b) { return (a & (1 << b)) >> b; } -static void intToCol(int i, float* col) +BM_INLINE void intToCol(int i, float* col) { int r = bit(i, 0) + bit(i, 3) * 2 + 1; int g = bit(i, 1) + bit(i, 4) * 2 + 1; |