Remove comments of inlined versions

This commit is contained in:
Ukendio 2024-08-05 02:22:14 +02:00
parent 611101b309
commit 912abae43b
2 changed files with 0 additions and 15 deletions

View file

@ -44,9 +44,6 @@ local function mobsMove(dt: number)
end end
local moving = CFrame.new(p + (target - p).Unit * dt * v) local moving = CFrame.new(p + (target - p).Unit * dt * v)
--local record = world.entityIndex.sparse[mob]
--local archetype = record.archetype
--archetype.columns[archetype.records[Transform].column][record.row] = moving
world:set(mob, Transform, moving) world:set(mob, Transform, moving)
end end
end end

View file

@ -9,18 +9,6 @@ local Model = cts.Model
local Transform = cts.Transform local Transform = cts.Transform
local function move(dt: number) local function move(dt: number)
-- for i, archetype in world:query(Transform, Model):archetypes() do
-- local columns = archetype.columns
-- local records = archetype.records
-- local M = columns[records[Model].column]
-- local CF = columns[records[Transform].column]
-- for row, entity in archetype.entities do
-- local model, cf = M[row], CF[row]
-- model.PrimaryPart.CFrame = cf
-- end
-- end
for _, cf, model in world:query(Transform, Model) do for _, cf, model in world:query(Transform, Model) do
model.PrimaryPart.CFrame = cf model.PrimaryPart.CFrame = cf
end end