Compares the two given vectors and places the minimum values of each component into res.
res
a Vec2
the resulting vector