cleaned up Rasterizer

This commit is contained in:
Dank074 2021-05-08 18:17:01 -05:00
parent 6e1c16ce06
commit 5693b6f558
2 changed files with 6 additions and 6 deletions

View File

@ -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();
}
}
}

View File

@ -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);
}
}
}