#ifndef BLAMK_MODEL_PART_HPP_
#define BLAMK_MODEL_PART_HPP_
-#include "geometry.hpp"
-
#include <cstdint>
#include <list>
#include <memory>
std::uint16_t Enumerate(std::uint16_t) noexcept;
void Index(std::vector<Part *> &) noexcept;
+ std::uint16_t ID() const noexcept { return id; }
+
glm::mat4 LocalTransform(const Instance &) const noexcept;
glm::mat4 GlobalTransform(const Instance &) const noexcept;
std::vector<float> tex_map;
mutable std::unique_ptr<EntityMesh> mesh;
State initial;
- glm::vec3 hsl_mod;
- glm::vec3 rgb_mod;
+ glm::tvec3<unsigned char> hsl_mod;
+ glm::tvec3<unsigned char> rgb_mod;
std::uint16_t id;
};