Function translation

Build a translation matrix.

auto translation(X, Y) (
  in X x,
  in Y y
);

auto translation(V) (
  in V v
)
if (isVec2!V);

auto translation(X, Y, Z) (
  in X x,
  in Y y,
  in Z z
);

auto translation(V) (
  in V v
)
if (isVec3!V);