No, that is correct. You can think of pitch and yaw as latitude and longitude. Any point on the earth can be specified by the north to south latitude having a range of 180 degrees and east to west longitude having a range of 360 degrees. So any direction in 3d can be specified by pitch ranging from -90 to 90 and yaw from -180 to 180.