From 2ef7d2bdf1ca4a6b9ee207e4a43f3116f55c0274 Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Tue, 9 May 2017 19:23:52 -0300 Subject: Several solutions implemented --- Project/Gain.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Project/Gain.cpp') diff --git a/Project/Gain.cpp b/Project/Gain.cpp index faea89c..5f65c0c 100644 --- a/Project/Gain.cpp +++ b/Project/Gain.cpp @@ -167,3 +167,9 @@ void Gain::Move(wxPoint2DDouble position) SetPosition(m_movePos + position - m_moveStartPt); UpdatePoints(); } + +bool Gain::Solve(double input) +{ + m_output = input * m_value; + return true; +} -- cgit From d44c3a76943c90cfcbf336961d9ba3516a1c80dc Mon Sep 17 00:00:00 2001 From: Thales Lima Oliveira Date: Sat, 13 May 2017 16:13:12 -0300 Subject: Several bugs fixed, ready to pull --- Project/Gain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Project/Gain.cpp') diff --git a/Project/Gain.cpp b/Project/Gain.cpp index 5f65c0c..d2106d7 100644 --- a/Project/Gain.cpp +++ b/Project/Gain.cpp @@ -168,7 +168,7 @@ void Gain::Move(wxPoint2DDouble position) UpdatePoints(); } -bool Gain::Solve(double input) +bool Gain::Solve(double input, double timeStep) { m_output = input * m_value; return true; -- cgit