| 242 | } |
| 243 | |
| 244 | void Group::PropagateTransformsDownFast(bool deep) { |
| 245 | for (auto& child : children) { |
| 246 | Object* obj = child.direct_ptr; |
| 247 | if (obj) { |
| 248 | obj->SetTranslationRotationFast(translation_ + (GetRotation() * (scale_ * child.rel_translation)), GetRotation() * child.rel_rotation); |
| 249 | if (deep && obj->IsGroupDerived()) { |
| 250 | Group* group = static_cast<Group*>(obj); |
| 251 | group->PropagateTransformsDownFast(deep); |
| 252 | } |
| 253 | } |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | void Group::PropagateTransformsDown(bool deep) { |
| 258 | for (auto& child : children) { |
nothing calls this directly
no test coverage detected