add pi/2 awareness to piecewise of Ray when giving arbitrary angle
Merge pull request #7979 from smichr/geom

add pi/2 awareness to piecewise of Ray when giving arbitrary angle