SceneComponent.cpp 471 B

1234567891011121314151617
  1. // Copyright (C) 2009-present, 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/SceneComponent.h>
  6. #include <AnKi/Scene/SceneGraph.h>
  7. namespace anki {
  8. SceneComponent::SceneComponent([[maybe_unused]] SceneNode* node, SceneComponentType type)
  9. : m_uuid(SceneGraph::getSingleton().getNewUuid())
  10. , m_type(U8(type))
  11. {
  12. }
  13. } // namespace anki