Change imports
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
// dropped items are drawn 3d like minecraft's: the sprite front and back, and a side face on every exposed pixel edge
|
||||
import { assert, assertEquals } from "@std/assert";
|
||||
import { extrude_item, type ItemQuad } from "$/client/rendering/item_model.ts";
|
||||
import { TEXTURE_SIZE } from "$/common/constants.ts";
|
||||
import { extrude_item, type ItemQuad } from "@/client/rendering/item_model.ts";
|
||||
import { TEXTURE_SIZE } from "@/common/constants.ts";
|
||||
|
||||
function mask(pixels: [number, number][], width = TEXTURE_SIZE, height = TEXTURE_SIZE) {
|
||||
const mask = new Uint8Array(width * height);
|
||||
|
||||
Reference in New Issue
Block a user