mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
move Lighting instance to ChunksController
This commit is contained in:
parent
c5049d0e24
commit
b7664b4188
14 changed files with 60 additions and 61 deletions
|
|
@ -8,11 +8,7 @@ assert(player.get_name(pid) == "Xerxes")
|
|||
test.sleep_until(function() return world.count_chunks() >= 9 end, 1000)
|
||||
print(world.count_chunks())
|
||||
|
||||
for i=1,10 do
|
||||
print("--------------------")
|
||||
timeit(10000000, block.get_fast, 0, 0, 0)
|
||||
timeit(10000000, block.get, 0, 0, 0)
|
||||
end
|
||||
timeit(10000000, block.get, 0, 0, 0)
|
||||
|
||||
block.destruct(0, 0, 0, pid)
|
||||
assert(block.get(0, 0, 0) == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue