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 | 63 | 32 | if ($check_node->is_branch_node) { } |
84 | 53 | 10 | if (defined $left_node and $left_node->does_collide($aabb)) |
87 | 22 | 41 | 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 |