Is kòd C sa a:
/* LERP(a,b,c) = linear interpolation macro, is 'a' when c == 0.0 and 'b' when c == 1.0 */
#define LERP(a,b,c) (((b) - (a)) * (c) + (a))
http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_T.html
egal kòd C # sa a?
private static double LERP(double a, double b, double c) { return (((b) - (a)) * (c) + (a)); }
?