Searched refs:in_min (Results 1 – 1 of 1) sorted by relevance
137 private static int map(int x, int in_min, int in_max, int out_min, int out_max) { in map() argument138 return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; in map()