| 219 | |
| 220 | template<typename LocationFn> |
| 221 | void copy( const SceneInterface *src, SceneInterface *dst, double time, unsigned int flags, LocationFn &locationFn ) |
| 222 | { |
| 223 | locationFn( src, dst, time, flags ); |
| 224 | |
| 225 | SceneInterface::NameList childNames; |
| 226 | src->childNames( childNames ); |
| 227 | |
| 228 | for( const auto &childName : childNames ) |
| 229 | { |
| 230 | SceneInterfacePtr dstChild = dst->child( childName, SceneInterface::CreateIfMissing ); |
| 231 | ::copy( src->child( childName ).get(), dstChild.get(), time, flags, locationFn ); |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | } // namespace |
| 236 |
no test coverage detected