Pipeline to draw models !
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user