diff options
| author | Jacob Palecki <[email protected]> | 2020-09-17 23:51:47 -0700 |
|---|---|---|
| committer | Jacob Palecki <[email protected]> | 2020-09-17 23:51:47 -0700 |
| commit | 1dd0c108b8948c50fd8f2b9c9055dbb8e7d47270 (patch) | |
| tree | 4b6a0b3f59bdb9f0e808e688e972d42b1527cd2c /grapher/Models/Charts/ChartState/CombinedState.cs | |
| parent | Further work (diff) | |
| download | rawaccel-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.cs | 6 |
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); + } } } |