nornagon/fov.js — Issue #1: Support beam shaped fields
Author: nornagon
Created: 2011-10-28 21:31:04+00:00
State: open

libfov can beamcast in eight specific directions; it'd be nice to be able to specify an arbitrary direction and angle.

I suspect this could be done by splitting the beamcast function into halves and combining several half-beam casts in different octants.

e.g.

```
/ /
/ /
/ /
+ = +------> + +------>
`-. `-.
`- `-
```