diff --git a/src/nitro/room/object/visualization/room/rasterizer/basic/PlaneRasterizer.ts b/src/nitro/room/object/visualization/room/rasterizer/basic/PlaneRasterizer.ts index 61a601bd..ceacb8fc 100644 --- a/src/nitro/room/object/visualization/room/rasterizer/basic/PlaneRasterizer.ts +++ b/src/nitro/room/object/visualization/room/rasterizer/basic/PlaneRasterizer.ts @@ -256,7 +256,7 @@ export class PlaneRasterizer implements IPlaneRasterizer if(asset.flipH) { - newTexture = Rasterizer._Str_16640(texture); + newTexture = Rasterizer.getFlipHBitmapData(texture); } plane._Str_16790(newTexture, normalMinX, normalMaxX, normalMinY, normalMaxY, assetName); @@ -606,4 +606,4 @@ export class PlaneRasterizer implements IPlaneRasterizer return planes._Str_8988(); } -} \ No newline at end of file +} diff --git a/src/room/utils/Rasterizer.ts b/src/room/utils/Rasterizer.ts index 091e29a5..0e3a4a94 100644 --- a/src/room/utils/Rasterizer.ts +++ b/src/room/utils/Rasterizer.ts @@ -61,7 +61,7 @@ export class Rasterizer // k.unlock(); // } - public static _Str_16640(k: Texture): Texture + public static getFlipHBitmapData(k: Texture): Texture { if(!k) return null; @@ -83,7 +83,7 @@ export class Rasterizer return TextureUtils.generateTexture(graphic); } - public static _Str_20706(k: Texture): Texture + public static getFlipVBitmapData(k: Texture): Texture { if(!k) return null; @@ -105,7 +105,7 @@ export class Rasterizer return TextureUtils.generateTexture(graphic); } - public static _Str_20356(k: Texture): Texture + public static getFlipHVBitmapData(k: Texture): Texture { if(!k) return null; @@ -126,4 +126,4 @@ export class Rasterizer return TextureUtils.generateTexture(graphic); } -} \ No newline at end of file +}