blib/lib/Game/RaycastFOV.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 18 | 94.4 |
line | true | false | branch |
---|---|---|---|
158 | 10 | 16 | if $light_start < $light_end |
166 | 2 | 36 | if ($light_start < $rslope) { } |
0 | 36 | elsif ($light_end > $lslope) { } | |
171 | 28 | 8 | if &$rcb($dx, $dy) |
172 | 10 | 26 | if ($blocked) { } |
173 | 8 | 2 | if (&$bcb($curx, $cury)) { } |
181 | 10 | 16 | if (&$bcb($curx, $cury) and $j < $radius) |
193 | 8 | 10 | if $blocked |
205 | 24 | 621 | unless $seen{$nx . ',' . $ny}++ |