add Lightmap::extractNormalized

This commit is contained in:
MihailRis 2025-12-20 23:26:50 +03:00
parent 4417eb7685
commit 54d1398d1b
4 changed files with 16 additions and 4 deletions

View file

@ -76,6 +76,7 @@ public:
return get(pos.x, pos.y, pos.z);
}
ubyte getLight(const glm::ivec3& pos) const;
light_t getLight(int32_t x, int32_t y, int32_t z) const;
ubyte getLight(int32_t x, int32_t y, int32_t z, int channel) const;
void set(int32_t x, int32_t y, int32_t z, uint32_t id, blockstate state);