Remove empty source files
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user