X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2FSkeletons.hpp;h=8d106d95fefdea2492e23092f1d7dbac2b6f0ca2;hb=3a487f44c26f9bb9d1a1c831406b6497b2b3b425;hp=131bf0cfd1218258b56eecbe6eb64a53301e034a;hpb=825f479edf9867938b6789215ad7ae6303596cba;p=blank.git diff --git a/src/model/Skeletons.hpp b/src/model/Skeletons.hpp index 131bf0c..8d106d9 100644 --- a/src/model/Skeletons.hpp +++ b/src/model/Skeletons.hpp @@ -8,15 +8,15 @@ namespace blank { -class CompositeModel; -class EntityModel; +class Model; +class EntityMesh; class Skeletons { public: using size_type = std::size_t; - using reference = CompositeModel &; - using const_reference = const CompositeModel &; + using reference = Model &; + using const_reference = const Model &; public: Skeletons(); @@ -30,12 +30,12 @@ public: reference operator[](size_type i) noexcept { return *skeletons[i]; } const_reference operator[](size_type i) const noexcept { return *skeletons[i]; } - CompositeModel *ByID(std::uint16_t) noexcept; - const CompositeModel *ByID(std::uint16_t) const noexcept; + Model *ByID(std::uint16_t) noexcept; + const Model *ByID(std::uint16_t) const noexcept; private: - std::vector> skeletons; - std::vector models; + std::vector> skeletons; + std::vector meshes; };