It doesn't.
The gnomon is supposed to match the latitude of the location where the sundial is placed. If the latitude is 30 degrees and the gnomon is 45 the entire sundial will have to be tilted to keep correct time.
Another way to describe this is to say that the gnomon should be parallel to the Earth's axis.