Lines Matching defs:start
155 public static float lerp(float start, float stop, float amount) {
156 return start + (stop - start) * amount;
160 * Returns an interpolated angle in degrees between a set of start and end
164 * travel is determined by the shortest angle between the start and end
169 * @param start the starting angle in degrees
171 * @param amount the position between start and end in the range [0,1]
175 public static float lerpDeg(float start, float end, float amount) {
176 final float minAngle = (((end - start) + 180) % 360) - 180;
177 return minAngle * amount + start;
180 public static float norm(float start, float stop, float value) {
181 return (value - start) / (stop - start);