InfiniteCoder

Results 46 comments of InfiniteCoder

Кириллица в пути (имя пользователя на русском) - плохой знак

When implementing multiple chunk loaders, we can leverage power of this quick way to access chunks only in client-side events. I think, I can improve on that, by adding back...

I'm not sure about `Lighting`. I can't really say, that it's a client-side thing, but at the same time, it's a very performance-intensive task, which we should optimize as much...

Also, I wonder, if hash map (unordered_map) could compete to an array here

I didn't find much places, where we could 100% use ChunksMatrix. Most of them aren't that performance-intensive. Only Lighting/LightSolver (which is more of for the whole world task) and PhysicsSolver...

*Please, review :)*

Есть незадокумментированая клавиша X

P.S. Для метадаты: ``` get_block_meta(x, y, z, field) set_block_meta(x, y, z, field, value)

И стоит поднять вопрос о хранении инвентарей блоков в чанке, логичнее с точки зрения производительности

> И стоит поднять вопрос о хранении инвентарей блоков в чанке, логичнее с точки зрения производительности Я возможно что-то пропустил, но судя по всему, это уже есть: ![image](https://github.com/MihailRis/VoxelEngine-Cpp/assets/66557254/e61b1234-9bf2-4312-a3ff-84e85133a4bb)