x/y/z/r/g/b are printed with %d, but are floats. Makes more sense to extract them as ints, and convert to float when the Setxxx function is called.