修复清理vengine

This commit is contained in:
2023-09-19 10:55:14 +08:00
parent b9e9636d72
commit 0bf34fa215
31 changed files with 289 additions and 252 deletions

View File

@@ -1,7 +1,6 @@
using System.Globalization;
using System.Security.Cryptography;
using System.Text;
using Newtonsoft.Json.Linq;
namespace Tnb.Vengine;
@@ -115,9 +114,10 @@ public class CodeHelper
float.TryParse(propDefine, out float f);
return (int)f;
}
public static int PropDefineToScale(string? propDefine)
{
float.TryParse(propDefine, out float f);
return (int)(f * 10) % 10;
}
}
}