comment garbled

This code looks OK, but I can't tell for sure that it works correctly around a view_direction of plus or minus 2*pi. Has it been tested in that direction?