Searched refs:vMin (Results 1 – 1 of 1) sorted by relevance
51 public static float scale(float v, float vMin, float vMax, float pMin, float pMax) { in scale() argument52 return (pMax - pMin) * (v - vMin) / (vMax - vMin) + pMin; in scale()