Archived
backup
This commit is contained in:
@@ -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