Reflection geometry with signed angles
The normal is the positive laboratory horizontal axis, and the grooves are vertical. The direction toward the source and the outgoing direction both have positive normal components, while the incoming propagation direction points toward the grating. The zero order follows ordinary reflection. An order whose sine falls outside this bound has no propagating ray.