feat: modules list and translations

This commit is contained in:
tresabhi committed 2025-03-29 19:29:29 -05:00
1 parent 8afc334aa7
commit e6f9b07b20
23 files changed
+2301 -788

No files matched your search

+15
View File
@@ -1,10 +1,15 @@
using Blitzkit;
using CUE4Parse_Conversion.Textures;
using CUE4Parse.UE4.Assets.Exports.Texture;
using CUE4Parse.UE4.Assets.Objects;
using CUE4Parse.UE4.Objects.Core.Math;
namespace BlitzKit.CLI.Utils
{
public static class BlitzKitExporter
{
private static readonly float SCALE = 0.01f;
public static byte[] Texture2D(UTexture2D texture)
{
return texture
@@ -12,5 +17,15 @@ namespace BlitzKit.CLI.Utils
.Encode(ETextureFormat.Png, 100)
.ToArray();
}
public static Vector3 Vector3(FVector fVector)
{
return new()
{
X = SCALE * fVector.X,
Y = SCALE * fVector.Z,
Z = SCALE * fVector.Y,
};
}
}
}