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