Change imports
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
// animated textures play like minecraft's: the atlas holds one frame of each, and every tick the ones whose frame
|
||||
// changed copy the new frame's pixels over it. models never change, only the atlas does
|
||||
import type { SpriteRegion } from "$/common/constants.ts";
|
||||
import type { Animation } from "$/common/texture_animation.ts";
|
||||
import type { SpriteRegion } from "@/common/constants.ts";
|
||||
import type { Animation } from "@/common/texture_animation.ts";
|
||||
|
||||
// pixels to copy into a texture's place in the atlas: frame_width × frame_height of them, starting at offset bytes
|
||||
// into data, rows bytes_per_row apart
|
||||
|
||||
Reference in New Issue
Block a user