Code cleanup.
This commit is contained in:
@@ -28,10 +28,10 @@ namespace Cryville.Crtr {
|
||||
public MotionRegistry(Vector init) : this(init, init) { }
|
||||
|
||||
public MotionRegistry(Vector init, Vector globalInit) {
|
||||
m_InitValue = init;
|
||||
m_GlobalInitValue = globalInit;
|
||||
if (!init.GetType().Equals(globalInit.GetType())) throw new ArgumentException();
|
||||
m_Type = init.GetType();
|
||||
m_InitValue = init;
|
||||
m_GlobalInitValue = globalInit;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -127,6 +127,7 @@ namespace Cryville.Crtr {
|
||||
dest.Id = Id;
|
||||
Time.CopyTo(dest.Time);
|
||||
EndTime.CopyTo(dest.EndTime);
|
||||
dest.Transition = Transition;
|
||||
Value.CopyTo(dest.Value);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user