diff options
| author | Mel <einebeere@gmail.com> | 2023-07-21 02:17:03 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2023-07-21 02:17:03 +0200 |
| commit | 23d88e5f1c8f0c8652a07050fcfa8ff126e85d4a (patch) | |
| tree | d2979c12a9675885b7ed969d5f51dbd69d969286 /src/World/World.hpp | |
| parent | c0556f76fc5c8271c2eaa7ca91ad1c92c691d8bc (diff) | |
| download | meowcraft-23d88e5f1c8f0c8652a07050fcfa8ff126e85d4a.tar.zst meowcraft-23d88e5f1c8f0c8652a07050fcfa8ff126e85d4a.zip | |
Extremely simple chunk-limited lighting
Diffstat (limited to 'src/World/World.hpp')
| -rw-r--r-- | src/World/World.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World/World.hpp b/src/World/World.hpp index 8a11dbe..3635d8a 100644 --- a/src/World/World.hpp +++ b/src/World/World.hpp @@ -17,7 +17,7 @@ public: enum class ChunkStatus { Empty, WaitingForGeneration, - NeedsMesh, + WaitingForReification, Done }; @@ -41,7 +41,7 @@ private: std::vector<ChunkIndex> get_visible_chunk_indices(Vector<3> position) const; void load_finished_chunks_from_queue(); void request_generation(ChunkIndex index, Real priority); - void try_to_create_mesh_for_chunk(ChunkData& data); + void try_to_reify_chunk(ChunkData& data); void log_chunk_time(U64 chunk_time_ms); |
