mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
cleaned up Rasterizer
This commit is contained in:
parent
6e1c16ce06
commit
5693b6f558
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user