changed curve key
This commit is contained in:
parent
f28f02bf7a
commit
2143a23328
@ -116,7 +116,7 @@ namespace ANX.Framework
|
|||||||
#region Equals
|
#region Equals
|
||||||
public bool Equals(CurveKey other)
|
public bool Equals(CurveKey other)
|
||||||
{
|
{
|
||||||
return other != null &&
|
return
|
||||||
other.Position == Position &&
|
other.Position == Position &&
|
||||||
other.Value == Value &&
|
other.Value == Value &&
|
||||||
other.TangentIn == TangentIn &&
|
other.TangentIn == TangentIn &&
|
||||||
@ -146,13 +146,7 @@ namespace ANX.Framework
|
|||||||
#region Equality
|
#region Equality
|
||||||
public static bool operator ==(CurveKey a, CurveKey b)
|
public static bool operator ==(CurveKey a, CurveKey b)
|
||||||
{
|
{
|
||||||
if (a == null ||
|
return a.Equals(b);
|
||||||
b == null)
|
|
||||||
{
|
|
||||||
return (a == null && b == null);
|
|
||||||
}
|
|
||||||
|
|
||||||
return a.Equals(b);
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user