From: Alexander Schmidt Date: Sat, 27 Feb 2021 10:01:32 +0000 (+0100) Subject: Less heavy dots X-Git-Url: http://git.treefish.org/~alex/seamulator.git/commitdiff_plain/7dac0949ad4bb764817ea1fe1272839b8fe47c22?ds=sidebyside Less heavy dots --- diff --git a/src/dot.cpp b/src/dot.cpp index 5f6ae87..aa4a563 100644 --- a/src/dot.cpp +++ b/src/dot.cpp @@ -16,7 +16,7 @@ void Dot::advance(double deltaT) auto posBefore = m_pos; - m_vel += -std::pow(m_frequency/440.0, 2.0) * 1.0 * ( m_pos - m_point.getHeight() ) * deltaT; + m_vel += -std::pow(m_frequency/440.0, 2.0) * 10.0 * ( m_pos - m_point.getHeight() ) * deltaT; m_vel -= m_vel * 0.01 * deltaT; m_pos += m_vel * deltaT;