directional buffers?

Has anyone fooled around with r.buffer source code to try to
add the ability to specify buffers with a direction (e.g., within
a certain range of azimuths)? We have a situation where this
would be useful.

Bill Baker
Univ. of Wyoming