From bb74b8af011cbbdec733c1d1207083ce2b615430 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 13 Jan 2024 05:56:15 +0100 Subject: w --- src/world.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/world.hpp b/src/world.hpp index bb1e1204..55331f49 100644 --- a/src/world.hpp +++ b/src/world.hpp @@ -15,11 +15,13 @@ template struct object_type_; class world final { +public: static constexpr object_id object_counter_init = 1024; static constexpr size_t initial_capacity = 4096; static constexpr float max_load_factor = .25; static constexpr size_t initial_collect_every = 64; +private: struct chunk_tuple final { static constexpr chunk_coords_ invalid_coords = { -1 << 15, -1 << 15, chunk_z_min }; chunk* c = nullptr; -- cgit v1.2.3