summaryrefslogtreecommitdiff
path: root/grapher/Models/Options/ApplyOptions.cs
diff options
context:
space:
mode:
authorJacobPalecki <[email protected]>2020-09-29 13:17:50 -0700
committerGitHub <[email protected]>2020-09-29 13:17:50 -0700
commit46e310b9168e2a662ca934bb2c924eea91d88d7f (patch)
treeb64eb67b725cab86edd5d8464216c50361ebebe8 /grapher/Models/Options/ApplyOptions.cs
parentMerge pull request #27 from JacobPalecki/GUI (diff)
parentPotential link fix, better power pic (diff)
downloadrawaccel-46e310b9168e2a662ca934bb2c924eea91d88d7f.tar.xz
rawaccel-46e310b9168e2a662ca934bb2c924eea91d88d7f.zip
Merge pull request #28 from a1xd/initial-release
interaccel converter
Diffstat (limited to 'grapher/Models/Options/ApplyOptions.cs')
-rw-r--r--grapher/Models/Options/ApplyOptions.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/grapher/Models/Options/ApplyOptions.cs b/grapher/Models/Options/ApplyOptions.cs
index 51c80ea..c2ed498 100644
--- a/grapher/Models/Options/ApplyOptions.cs
+++ b/grapher/Models/Options/ApplyOptions.cs
@@ -89,14 +89,14 @@ namespace grapher.Models.Options
};
}
- public Vec2<AccelArgs> GetUpdatedArgs(ref /*readonly*/ Vec2<AccelArgs> last)
+ public Vec2<AccelArgs> GetArgs()
{
- var xArgs = OptionSetX.GenerateArgs(ref last.x);
+ var xArgs = OptionSetX.GenerateArgs();
return new Vec2<AccelArgs>
{
x = xArgs,
- y = ByComponentVectorXYLock.Checked ? xArgs : OptionSetY.GenerateArgs(ref last.y)
+ y = ByComponentVectorXYLock.Checked ? xArgs : OptionSetY.GenerateArgs()
};
}