| 122 | } |
| 123 | |
| 124 | Imath::Box3f Group::bound() const |
| 125 | { |
| 126 | Box3f result; |
| 127 | for( ChildContainer::const_iterator it=children().begin(); it!=children().end(); it++ ) |
| 128 | { |
| 129 | result.extendBy( (*it)->bound() ); |
| 130 | } |
| 131 | return transform( result, m_transform ); |
| 132 | } |
| 133 | |
| 134 | void Group::addChild( RenderablePtr child ) |
| 135 | { |