This commit is contained in:
2025-06-15 14:16:28 +08:00
parent 04cdf14bb5
commit 59da0af1a7
5 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ namespace XericLibrary.Editor
[PostProcessScene]
public static void OnPostProcessScene()
{
Debug.Log("OnPostProcessScene is called.");
// Debug.Log("OnPostProcessScene is called.");
}
}
+5 -1
View File
@@ -1,6 +1,10 @@
# Xeric方法库
提供一些快捷方法
这是旧版的Xeric库,包含部分功能源码
可能适用于VR角色库,VRUI库等部分项目已结束的仓库,它们都是基于旧版Xeric的。
不要尝试用于新版,部分api不兼容。
+1 -1
View File
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a38c2728078def2458ddbe0163f6a1d9
guid: 3444c9bc7b85f51489b92d4c75f61e84
MonoImporter:
externalObjects: {}
serializedVersion: 2
+1 -1
View File
@@ -63,7 +63,7 @@ namespace XericLibrary.Runtime.MacroLibrary
/// <summary>
/// 最大可接受的误差
/// </summary>
public const float MaxError = .000001f;
public const float MaxError = .00001f;
/// <summary>
/// 最大可接受的误差
/// </summary>
+5 -5
View File
@@ -10,7 +10,7 @@ using XericLibrary.Runtime.Type;
namespace XericLibrary.Runtime.MacroLibrary
{
/// <summary>
/// 平滑宏
/// ƽ
/// </summary>
public static partial class MacroSmooth
{
@@ -28,7 +28,7 @@ namespace XericLibrary.Runtime.MacroLibrary
{
return k * (2 - k);
}
public static double QuadraticInOut(double k)
public static double QuadraticInOut(double k)
{
if((k *= 2) < 1)
{
@@ -229,7 +229,7 @@ namespace XericLibrary.Runtime.MacroLibrary
1
);
}
// 在某一动画开始沿指示的路径进行动画处理前稍稍收回该动画的移动
// ijһʼָʾ·жǰջظöƶ
public static double BackIn(double k)
{
var s = 1.70158;
@@ -283,10 +283,10 @@ namespace XericLibrary.Runtime.MacroLibrary
#endregion
#region
#region һվʽ
/// <summary>
/// 切换缓动模式
/// лģʽ
/// </summary>
/// <param name="k"></param>
/// <param name="mode"></param>