diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-12-09 02:24:41 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2012-12-09 02:24:41 +0400 |
commit | 3c4987f98378d44eda133311c65aa19412e4cd38 (patch) | |
tree | 4371b4117d3290e60a58190481e926ebb17fcf28 /source/blender/freestyle/intern/geometry/Noise.cpp | |
parent | ec33687d6cf74775e37fdc1a14e22dea08289cb1 (diff) |
Fix for a number of compiler warnings as well as a bug hidden by the warnings.
Patch contribution by Bastien Montagne, thanks!
Diffstat (limited to 'source/blender/freestyle/intern/geometry/Noise.cpp')
-rwxr-xr-x | source/blender/freestyle/intern/geometry/Noise.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/freestyle/intern/geometry/Noise.cpp b/source/blender/freestyle/intern/geometry/Noise.cpp index c9a80adc5ee..ede8c434d9d 100755 --- a/source/blender/freestyle/intern/geometry/Noise.cpp +++ b/source/blender/freestyle/intern/geometry/Noise.cpp @@ -58,7 +58,7 @@ r0 = t - (int)t;\ r1 = r0 - 1.; -void normalize2(float v[2]) +static void normalize2(float v[2]) { float s; @@ -67,7 +67,7 @@ void normalize2(float v[2]) v[1] = v[1] / s; } -void normalize3(float v[3]) +static void normalize3(float v[3]) { float s; |