X-Git-Url: http://git.treefish.org/~alex/seamulator.git/blobdiff_plain/114b763f99b178bfa8a5adc0b214a425914fdc31..7dac0949ad4bb764817ea1fe1272839b8fe47c22:/src/dot.cpp?ds=inline 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;