Pipeline to draw models !

This commit is contained in:
2026-10-14 00:10:58 -03:00
parent 6ad476ac18
commit d7f1b91c0a
9 changed files with 593 additions and 201 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ Deno.test("the client keeps the fields it's sent for each block until they're re
const level = Object.assign(Object.create(ClientLevel.prototype), {
chunks: new Map([[chunk_key(0, 0), {}]]),
block_data: new Map(),
visuals: new Visuals(() => undefined),
visuals: new Visuals({ get_block_data: () => undefined, get_light: () => 0 }),
}) as ClientLevel;
level.set_block_data(1, 99, 1, { speed: 16, axis: "x" });
level.set_block_data(1, 99, 1, { speed: 32 });