最終更新:2018-04-12 (木) 03:59:49 (2199d)  

ofMap
Top / ofMap

Given a value and an input range, map the value to an output range.

http://openframeworks.cc/documentation/math/ofMath/#show_ofMap

float ofMap(float value, float inputMin, float inputMax, float outputMin, float outputMax, bool clamp=false)