mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 19:41:51 +00:00
reduce Chunks.getChunkByVoxel calls in LightSolver
This commit is contained in:
parent
117199a3ec
commit
bf7732f68a
4 changed files with 47 additions and 27 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include "util/array_queue.hpp"
|
||||
|
||||
class Chunk;
|
||||
class Chunks;
|
||||
class ContentIndices;
|
||||
class Block;
|
||||
|
|
@ -25,5 +26,5 @@ public:
|
|||
void add(int x, int y, int z);
|
||||
void add(int x, int y, int z, int emission);
|
||||
void remove(int x, int y, int z);
|
||||
void solve();
|
||||
void solve(Chunk* prevailingChunk = nullptr);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue