Function interpNearest

Nearest-neighbour interpolation

T interpNearest(T) (
  T x,
  T y,
  float t
);