#pragma once #include #include namespace Assets { // This enumeration represents the possible bone flags. enum class BoneFlags : uint8_t { // Whether or not the bone has local space transforms HasLocalSpaceMatrices = 0x1, // Whether or not the bone has global space transforms HasGlobalSpaceMatrices = 0x2, // Whether or not the bone has a scale transform HasScale = 0x4 }; // // Allow bitwise operations on this enumeration // constexpr BoneFlags operator|(BoneFlags Lhs, BoneFlags Rhs) { return static_cast(static_cast::type>(Lhs) | static_cast::type>(Rhs)); }; }