Move to using ivec3 instead of 3 ints.