Here you can find the source of clamp_float(float p_76131_0_, float p_76131_1_, float p_76131_2_)
public static float clamp_float(float p_76131_0_, float p_76131_1_, float p_76131_2_)
//package com.java2s; //License from project: Open Source License public class Main { /**/*from ww w . ja v a2s. com*/ * Returns the value of the first parameter, clamped to be within the lower and upper limits given by the second and * third parameters */ public static float clamp_float(float p_76131_0_, float p_76131_1_, float p_76131_2_) { return p_76131_0_ < p_76131_1_ ? p_76131_1_ : (p_76131_0_ > p_76131_2_ ? p_76131_2_ : p_76131_0_); } }