Remove empty source files

This commit is contained in:
SirLynix
2023-04-11 13:51:11 +02:00
parent 3df52dcfbe
commit 2f5db80183
10 changed files with 17 additions and 98 deletions

View File

@@ -18,18 +18,18 @@ namespace Nz
class NAZARA_UTILITY_API SkeletonComponent final : public SkeletonComponentBase
{
public:
SkeletonComponent(std::shared_ptr<Skeleton> skeleton);
inline SkeletonComponent(std::shared_ptr<Skeleton> skeleton);
SkeletonComponent(const SkeletonComponent&) = delete;
SkeletonComponent(SkeletonComponent&& skeletalComponent) noexcept = default;
~SkeletonComponent() = default;
Node* GetRootNode();
inline Node* GetRootNode();
SkeletonComponent& operator=(const SkeletonComponent&) = delete;
SkeletonComponent& operator=(SkeletonComponent&& skeletalComponent) noexcept = default;
private:
const Skeleton& GetAttachedSkeleton() const override;
inline const Skeleton& GetAttachedSkeleton() const override;
};
}

View File

@@ -6,6 +6,20 @@
namespace Nz
{
inline SkeletonComponent::SkeletonComponent(std::shared_ptr<Skeleton> skeleton) :
SkeletonComponentBase(std::move(skeleton))
{
}
inline Node* SkeletonComponent::GetRootNode()
{
return m_referenceSkeleton->GetRootJoint();
}
inline const Skeleton& SkeletonComponent::GetAttachedSkeleton() const
{
return *m_referenceSkeleton;
}
}
#include <Nazara/Utility/DebugOff.hpp>