#pragma once // Frostbite SkeletonAssets: a skeleton's bones and how they hang together. #include "ebx_document.h" #include #include namespace dingosdk::frostbite { struct Skeleton { std::vector names; std::vector parents; // each bone's, before it; -1 for the root }; // `asset` is the SkeletonAsset (an EBX document's root object). Throws when it is not one. [[nodiscard]] Skeleton read_skeleton(const ebx::Object& asset); }