]> git.localhorst.tv Git - blank.git/blobdiff - src/world/BlockType.hpp
use symbolic names for block colors
[blank.git] / src / world / BlockType.hpp
index c55c674721df0b21943e293c7125107762ab7c21..575087f3dfad0ab32c49d05eb84b5230a32e4940 100644 (file)
@@ -25,9 +25,9 @@ struct BlockType {
 
        const Shape *shape;
        std::vector<float> textures;
-       TVEC3<unsigned char, glm::precision(0)> hsl_mod;
-       TVEC3<unsigned char, glm::precision(0)> rgb_mod;
-       TVEC3<unsigned char, glm::precision(0)> outline_color;
+       BlockMesh::ColorMod hsl_mod;
+       BlockMesh::ColorMod rgb_mod;
+       PrimitiveMesh::Color outline_color;
 
        /// gravity configuration or null if not emitting gravity
        std::unique_ptr<BlockGravity> gravity;