Code cleanup.
This commit is contained in:
@@ -104,16 +104,16 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
|
||||
ChartPlayer.motionRegistry = new Dictionary<Identifier, MotionRegistry> {
|
||||
{ "pt" , new MotionRegistry(typeof(VecPt)) },
|
||||
{ "dir" , new MotionRegistry(typeof(Vec3)) },
|
||||
{ "normal" , new MotionRegistry(typeof(Vec3)) },
|
||||
{ "sv" , new MotionRegistry(new VecPtComp(0f, 0f), new VecPtComp(0f, 1f)) },
|
||||
{ "svm" , new MotionRegistry(new Vec1m(1f)) },
|
||||
{ "dist" , new MotionRegistry(new VecPtComp(0f, 0f), new VecPtComp(0f, float.PositiveInfinity)) },
|
||||
{ "corner" , new MotionRegistry(typeof(VecI1)) },
|
||||
{ "ctrl0" , new MotionRegistry(typeof(VecCtrl)) },
|
||||
{ "ctrl1" , new MotionRegistry(typeof(VecCtrl)) },
|
||||
{ "track" , new MotionRegistry(typeof(Vec1)) },
|
||||
{ new Identifier("pt") , new MotionRegistry(typeof(VecPt)) },
|
||||
{ new Identifier("dir") , new MotionRegistry(typeof(Vec3)) },
|
||||
{ new Identifier("normal") , new MotionRegistry(typeof(Vec3)) },
|
||||
{ new Identifier("sv") , new MotionRegistry(new VecPtComp(0f, 0f), new VecPtComp(0f, 1f)) },
|
||||
{ new Identifier("svm") , new MotionRegistry(new Vec1m(1f)) },
|
||||
{ new Identifier("dist") , new MotionRegistry(new VecPtComp(0f, 0f), new VecPtComp(0f, float.PositiveInfinity)) },
|
||||
{ new Identifier("corner") , new MotionRegistry(typeof(VecI1)) },
|
||||
{ new Identifier("ctrl0") , new MotionRegistry(typeof(VecCtrl)) },
|
||||
{ new Identifier("ctrl1") , new MotionRegistry(typeof(VecCtrl)) },
|
||||
{ new Identifier("track") , new MotionRegistry(typeof(Vec1)) },
|
||||
};
|
||||
|
||||
var dir = new DirectoryInfo(Settings.Default.GameDataPath + "/charts");
|
||||
|
||||
Reference in New Issue
Block a user