blib/lib/Game/RaycastFOV.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 16 | 87.5 |
line | true | false | branch |
---|---|---|---|
166 | 2 | 36 | if ($light_start < $rslope) { } |
0 | 36 | elsif ($light_end > $lslope) { } | |
170 | 28 | 8 | if &$rcb($dx, $dy) |
171 | 10 | 26 | if ($blocked) { } |
172 | 8 | 2 | if (&$bcb($curx, $cury, $dx, $dy)) { } |
180 | 10 | 16 | if (&$bcb($curx, $cury, $dx, $dy) and $j < $radius) |
182 | 0 | 10 | unless $light_start < $lslope |
191 | 8 | 10 | if $blocked |