diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-03-13 16:34:03 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-03-13 16:34:03 +0000 |
commit | fa53163757d3ca8128854ee0eaafa3edbcdfef49 (patch) | |
tree | 85dc49b72d277aea43b870ec1e9a440a5f46c392 /rgb2hsv.c | |
parent | ca2bce5efde0b5b296806df0c426f88d874eb530 (diff) |
allow to build as single library
svn path=/trunk/externals/markex/; revision=4699
Diffstat (limited to 'rgb2hsv.c')
-rw-r--r-- | rgb2hsv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ #include "m_pd.h" #include <math.h> -inline float FLOAT_CLAMP(float x) { return((x > 1.f) ? 1.f : ( (x < 0.f) ? 0.f : x)); } +static inline float FLOAT_CLAMP(float x) { return((x > 1.f) ? 1.f : ( (x < 0.f) ? 0.f : x)); } static inline float TRI_MAX(float v1, float v2, float v3) { if (v1 > v2 && v1 > v3) return(v1); |