the first start value - a floating point number
the first end value - a floating point number
the second start value - a floating point number
the second end value - a floating point number
a floating point number in the interval [0.0, 1.0]
a floating point number in the interval [0.0, 1.0]
a value between a1, b1, a2 and b2
Generated using TypeDoc
Bilinear interpolation between
a1,b1,a2andb2based onsandt, wheresandtare numbers between0.0and1.0.The calculation is as follows:
a1andb1are interpolated based onsto givep,a2andb2are interpolated based onsto giveq, and then the final result is obtained by interpolatingpandqbased ont.The result will be equal to
a1when bothsandtis0.0, equal toa2whensis0.0andtis1.0, equal tob1whensis1.0andtis0.0, and equal tob2when bothsandtis1.0