Use constants for other uv gen mode usages.

And also change them to treat 3 as coords as well.