summaryrefslogtreecommitdiff
path: root/grapher/Models/Charts/ChartState/CombinedState.cs
diff options
context:
space:
mode:
authorJacob Palecki <[email protected]>2020-09-17 23:51:47 -0700
committerJacob Palecki <[email protected]>2020-09-17 23:51:47 -0700
commit1dd0c108b8948c50fd8f2b9c9055dbb8e7d47270 (patch)
tree4b6a0b3f59bdb9f0e808e688e972d42b1527cd2c /grapher/Models/Charts/ChartState/CombinedState.cs
parentFurther work (diff)
downloadrawaccel-1dd0c108b8948c50fd8f2b9c9055dbb8e7d47270.tar.xz
rawaccel-1dd0c108b8948c50fd8f2b9c9055dbb8e7d47270.zip
Add y lines to graphes + further work
Diffstat (limited to 'grapher/Models/Charts/ChartState/CombinedState.cs')
-rw-r--r--grapher/Models/Charts/ChartState/CombinedState.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/grapher/Models/Charts/ChartState/CombinedState.cs b/grapher/Models/Charts/ChartState/CombinedState.cs
index d229a43..c788775 100644
--- a/grapher/Models/Charts/ChartState/CombinedState.cs
+++ b/grapher/Models/Charts/ChartState/CombinedState.cs
@@ -1,4 +1,5 @@
using grapher.Models.Calculations;
+using grapher.Models.Serialized;
namespace grapher.Models.Charts.ChartState
{
@@ -36,5 +37,10 @@ namespace grapher.Models.Charts.ChartState
VelocityChart.Bind(Data.Combined.VelocityPoints);
GainChart.Bind(Data.Combined.GainPoints);
}
+
+ public override void Calculate(ManagedAccel accel, DriverSettings settings)
+ {
+ Calculator.Calculate(Data.Combined, accel, settings.sensitivity.x, Calculator.MagnitudesCombined, true, settings);
+ }
}
}