From 7924a318506957aa2a085a6ed1e6d66584f9965c Mon Sep 17 00:00:00 2001 From: Mike Lester Date: Thu, 12 Dec 2024 16:42:31 +0200 Subject: [PATCH] Cleanup unused imports, add missing private designator --- src/Common/JSYSTEM/J2D.ts | 2 +- src/ZeldaWindWaker/d_place_name.ts | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Common/JSYSTEM/J2D.ts b/src/Common/JSYSTEM/J2D.ts index a83f188ee..7b6961226 100644 --- a/src/Common/JSYSTEM/J2D.ts +++ b/src/Common/JSYSTEM/J2D.ts @@ -54,7 +54,7 @@ enum J2DUVBinding { // TODO: Move and reorganize export class J2DGrafContext { - sceneParams = new SceneParams(); + private sceneParams = new SceneParams(); constructor(device: GfxDevice) { // @NOTE: The y axis is inverted by this ortho matrix. Gamecube origin is top-left, ours is bottom left. diff --git a/src/ZeldaWindWaker/d_place_name.ts b/src/ZeldaWindWaker/d_place_name.ts index 74a94d222..9c92a57fc 100644 --- a/src/ZeldaWindWaker/d_place_name.ts +++ b/src/ZeldaWindWaker/d_place_name.ts @@ -1,14 +1,12 @@ -import { mat4, vec3 } from "gl-matrix"; -import { J2DGrafContext, J2DPane, J2DPicture, J2DScreen, SCRN } from "../Common/JSYSTEM/J2D.js"; +import { J2DGrafContext, J2DPicture, J2DScreen } from "../Common/JSYSTEM/J2D.js"; import { BTI, BTIData } from "../Common/JSYSTEM/JUTTexture.js"; import { GfxRenderInstManager } from "../gfx/render/GfxRenderInstManager.js"; import { ViewerRenderInput } from "../viewer.js"; import { EDemoMode } from "./d_demo.js"; import { dProcName_e } from "./d_procname.js"; import { dComIfG_resLoad, ResType } from "./d_resorce.js"; -import { cPhs__Status, fGlobals, fopMsgM_Delete, fpc_bs__Constructor, fpcPf__Register, fpcSCtRq_Request, leafdraw_class, msg_class } from "./framework.js"; +import { cPhs__Status, fGlobals, fopMsgM_Delete, fpc_bs__Constructor, fpcPf__Register, fpcSCtRq_Request, msg_class } from "./framework.js"; import { dGlobals } from "./Main.js"; -import { MtxTrans } from "./m_do_mtx.js"; let currentPlaceName: number | null = null;