]> git.localhorst.tv Git - blank.git/blobdiff - src/model/Skeletons.hpp
composite model is the canonical model
[blank.git] / src / model / Skeletons.hpp
index 250ebce1dff22f7a329c217930578519f0dee4da..8d106d95fefdea2492e23092f1d7dbac2b6f0ca2 100644 (file)
@@ -8,15 +8,15 @@
 
 namespace blank {
 
-class CompositeModel;
+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,11 +30,11 @@ 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<std::unique_ptr<CompositeModel>> skeletons;
+       std::vector<std::unique_ptr<Model>> skeletons;
        std::vector<EntityMesh> meshes;
 
 };