cube coord from 0 to 1