#pragma once #include #include #include struct Bone { std::string name; Bone* parent = nullptr; std::array localTransform, finalTransform; std::array position; std::array rotation; std::array scale; }; struct Skeleton { std::vector bones; Bone* root_bone = nullptr; }; /* * This reads a havok xml scene file, which is generated from your preferred assetcc.exe. */ Skeleton parseHavokXML(const std::string_view path);