#pragma once #pragma once #include "shared.hpp" namespace ace { namespace p3d { class bone { public: bone() : name(""), parent("") {} bone(const std::string & name_, const std::string & parent_) : name(name_), parent(parent_) { } std::string name; std::string parent; std::vector children; std::vector animations; }; typedef std::shared_ptr bone_p; class skeleton { public: skeleton(); skeleton(std::istream &, const uint32_t lod_count); ~skeleton(); std::string name; bool inherited; uint32_t size; std::map root_bones; std::vector all_bones; }; typedef std::shared_ptr skeleton_p; }; };