Code cleanup.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using Cryville.Common.Math;
|
||||
using Cryville.Crtr.Event;
|
||||
using System;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Cryville.Crtr {
|
||||
@@ -20,11 +19,7 @@ namespace Cryville.Crtr {
|
||||
|
||||
public override void PreInit() {
|
||||
base.PreInit();
|
||||
tracks = (
|
||||
from c in cs.Children
|
||||
where c.Value.Container is Chart.Track
|
||||
select c.Value
|
||||
).ToArray();
|
||||
tracks = cs.TypedChildren[typeof(Chart.Track)].ToArray();
|
||||
matFrame = SquareMatrix.WithPolynomialCoefficients(tracks.Length);
|
||||
frame1 = new ColumnVector<Vector3>(tracks.Length);
|
||||
frame2 = new ColumnVector<Vector3>(tracks.Length);
|
||||
|
||||
Reference in New Issue
Block a user