lullaby/contrib/slideshow/slideshow_system.cc
// Animate Aabb to match showing child, or zeroed Aabb if no child.
Animate Aabb to match showing child, or zeroed Aabb if no child.
Animate Aabb to match showing child or zeroed Aabb if no child .
void SlideshowSystem::AnimateAabb(const SlideshowComponent& widget,
                                  const Aabb& aabb, Clock::duration duration) {
  auto* animation_system = registry_->Get<AnimationSystem>();
  animation_system->SetTarget(widget.first,
      AabbMinChannel::kChannelName, &aabb.min.x, 3, duration);
  animation_system->SetTarget(widget.first,
      AabbMaxChannel::kChannelName, &aabb.max.x, 3, duration);
}
void SlideshowSystem :: AnimateAabb ( const SlideshowComponent & widget , const Aabb & aabb , Clock :: duration duration ) { auto * animation_system = registry_ -> Get < AnimationSystem > ( ) ; animation_system -> SetTarget ( widget . first , AabbMinChannel :: kChannelName , & aabb . min . x , 3 , duration ) ; animation_system -> SetTarget ( widget . first , AabbMaxChannel :: kChannelName , & aabb . max . x , 3 , duration ) ; }
Animate Aabb to match showing child, or zeroed Aabb if no child.
Animate Aabb to match showing child or zeroed Aabb if no child .