X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2FPart.hpp;h=6499bb7478ed30ec34cd5077e702e34dbfbea85c;hb=dcd54cacda98c2c0f7cf0c7a9131fb858d8ee10a;hp=3a17f2046137b39da28699d66452932978843471;hpb=f071bb512a09cece895e65ca48eba2a7155d6593;p=blank.git diff --git a/src/model/Part.hpp b/src/model/Part.hpp index 3a17f20..6499bb7 100644 --- a/src/model/Part.hpp +++ b/src/model/Part.hpp @@ -1,18 +1,19 @@ #ifndef BLAMK_MODEL_PART_HPP_ #define BLAMK_MODEL_PART_HPP_ +#include "../graphics/EntityMesh.hpp" +#include "../graphics/glm.hpp" + #include #include #include #include -#include #include namespace blank { class DirectionalLighting; -class EntityMesh; class Instance; class Model; class ResourceIndex; @@ -56,8 +57,8 @@ private: std::vector tex_map; mutable std::unique_ptr mesh; State initial; - glm::tvec3 hsl_mod; - glm::tvec3 rgb_mod; + EntityMesh::ColorMod hsl_mod; + EntityMesh::ColorMod rgb_mod; std::uint16_t id; };