From 20ea6f85cb0af56c13dabbfc3f65383af8793c7c Mon Sep 17 00:00:00 2001 From: Jacob Palecki Date: Thu, 30 Jul 2020 00:32:48 -0700 Subject: Fix small bugs, add AccelOptions class --- grapher/Form1.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'grapher/Form1.cs') diff --git a/grapher/Form1.cs b/grapher/Form1.cs index 8dd4b8b..e35f097 100644 --- a/grapher/Form1.cs +++ b/grapher/Form1.cs @@ -19,7 +19,7 @@ namespace grapher InitializeComponent(); ManagedAcceleration = new ManagedAccel(5, 0, 0.3, 1.25, 15); - AccelerationType = 5; + AccelerationType = 0; Sensitivity = new FieldXY(sensitivityBoxX, sensitivityBoxY, sensXYLock, this, 1); Rotation = new Field(rotationBox, this, 0); Weight = new FieldXY(weightBoxFirst, weightBoxSecond, weightXYLock, this, 1); @@ -151,6 +151,7 @@ namespace grapher { ManagedAcceleration.UpdateAccel( AccelerationType, + Rotation.Data, Sensitivity.X, Sensitivity.Y, Weight.X, -- cgit v1.2.3