MoveComponent.cpp 449 B

1234567891011121314151617
  1. // Copyright (C) 2009-2022, Panagiotis Christopoulos Charitos and contributors.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #include <AnKi/Scene/Components/MoveComponent.h>
  6. #include <AnKi/Scene/SceneNode.h>
  7. namespace anki {
  8. Error MoveComponent::update(SceneComponentUpdateInfo& info, Bool& updated)
  9. {
  10. updated = info.m_node->updateTransform();
  11. return Error::kNone;
  12. }
  13. } // end namespace anki