Archived
backup
This commit is contained in:
@@ -27,7 +27,7 @@ namespace XericLibrary.Editor
|
||||
[PostProcessScene]
|
||||
public static void OnPostProcessScene()
|
||||
{
|
||||
Debug.Log("OnPostProcessScene is called.");
|
||||
// Debug.Log("OnPostProcessScene is called.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
# Xeric方法库
|
||||
|
||||
提供一些快捷方法。
|
||||
这是旧版的Xeric库,包含部分功能源码。
|
||||
|
||||
可能适用于VR角色库,VRUI库等部分项目已结束的仓库,它们都是基于旧版Xeric的。
|
||||
|
||||
不要尝试用于新版,部分api不兼容。
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a38c2728078def2458ddbe0163f6a1d9
|
||||
guid: 3444c9bc7b85f51489b92d4c75f61e84
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace XericLibrary.Runtime.MacroLibrary
|
||||
/// <summary>
|
||||
/// 最大可接受的误差
|
||||
/// </summary>
|
||||
public const float MaxError = .000001f;
|
||||
public const float MaxError = .00001f;
|
||||
/// <summary>
|
||||
/// 最大可接受的误差
|
||||
/// </summary>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user