diff --git a/src/ofxEasing.h b/src/ofxEasing.h index 72c48e0..f1fde24 100644 --- a/src/ofxEasing.h +++ b/src/ofxEasing.h @@ -273,7 +273,7 @@ inline float map(float v, float minIn, float maxIn, float minOut, float maxOut, template inline float map(float v, float minIn, float maxIn, float minOut, float maxOut, Function easing, Args... parameters){ - return map(v, minIn, maxIn, minOut, maxOut, bind(easing, parameters...)); + return map(v, minIn, maxIn, minOut, maxOut, ofxeasing::bind(easing, parameters...)); } inline float map_clamp(float v, float minIn, float maxIn, float minOut, float maxOut, std::function easing){ @@ -283,7 +283,7 @@ inline float map_clamp(float v, float minIn, float maxIn, float minOut, float ma template inline float map_clamp(float v, float minIn, float maxIn, float minOut, float maxOut, Function easing, Args... parameters){ - return map_clamp(v, minIn, maxIn, minOut, maxOut, bind(easing, parameters...)); + return map_clamp(v, minIn, maxIn, minOut, maxOut, ofxeasing::bind(easing, parameters...)); } typedef std::function function;