| 1423 | } |
| 1424 | |
| 1425 | BoundingBox Actor::GetBoxWithChildren() const |
| 1426 | { |
| 1427 | BoundingBox result = GetBox(); |
| 1428 | for (int32 i = 0; i < Children.Count(); i++) |
| 1429 | BoundingBox::Merge(result, Children.Get()[i]->GetBoxWithChildren(), result); |
| 1430 | return result; |
| 1431 | } |
| 1432 | |
| 1433 | #if USE_EDITOR |
| 1434 |
no test coverage detected