blib/lib/Game/Collisions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
73 | 0 | 20 | unless defined $self->{'root_aabb'} |
80 | 61 | 32 | if ($check_node->is_branch_node) { } |
84 | 50 | 11 | if (defined $left_node and $left_node->does_collide($aabb)) |
87 | 23 | 38 | if (defined $right_node and $right_node->does_collide($aabb)) |
139 | 10 | 30 | if (not defined $self->{'root_aabb'}) { } |
144 | 10 | 20 | if defined $new_root |