refactor: tsconfig paths

This commit is contained in:
Dan Finch 2026-08-24 15:54:44 +02:00
parent acbb4e9d98
commit 85a44235d3
25 changed files with 108 additions and 108 deletions

View file

@ -1,5 +1,5 @@
import { expect, test } from "bun:test"
import { Actor, type Actor as RuntimeActor, type ActorDefinition } from "../engine/scene/Actor"
import { Actor, type Actor as RuntimeActor, type ActorDefinition } from "engine/scene/Actor"
type World = { updates: string[] }

View file

@ -1,7 +1,7 @@
import { expect, test } from "bun:test"
import type { Texture } from "../engine/render/Texture"
import { buildLevel } from "../game/level"
import type { Textures } from "../game/textures"
import type { Texture } from "engine/render/Texture"
import { buildLevel } from "game/level"
import type { Textures } from "game/textures"
const texture: Texture = { width: 1, height: 1, data: new Uint32Array([0xFFFFFFFF]) }
const textures: Textures = {

View file

@ -1,7 +1,7 @@
import { expect, test } from "bun:test"
import { RenderProtocol } from "../engine/render/RenderProtocol"
import type { RenderInstance } from "../engine/render/RenderScene"
import type { Camera } from "../engine/scene/Camera"
import { RenderProtocol } from "engine/render/RenderProtocol"
import type { RenderInstance } from "engine/render/RenderScene"
import type { Camera } from "engine/scene/Camera"
test("render camera protocol owns its complete shared layout", () => {
const input: Camera = { position: { x: 1, y: 2, z: 3 }, yaw: 4, pitch: 5, fov: 6 }