first chunk tree impl

This commit is contained in:
BlackMATov
2024-11-12 23:37:07 +07:00
parent 463deab362
commit 6fe0abfe43
7 changed files with 358 additions and 2 deletions

View File

@@ -1 +1,14 @@
local evolved = require 'evolved'
local registry = evolved.registry()
local fragments = {
position = registry:entity(),
velocity = registry:entity(),
}
do
local entity = registry:entity()
entity:insert(fragments.position)
entity:insert(fragments.velocity)
end