Commit 990175c0 authored by Dilson Guimarães's avatar Dilson Guimarães Committed by Caio Tonetti
Browse files

Fixed typos in a comment about slider values.

parent f37cd886
...@@ -92,7 +92,7 @@ void GraphLayoutWidget::setSeed(int seed) ...@@ -92,7 +92,7 @@ void GraphLayoutWidget::setSeed(int seed)
void GraphLayoutWidget::layoutGraph() void GraphLayoutWidget::layoutGraph()
{ {
//Sliders values map to parameteres with a non-linear scale //Slider values map to parameters with a non-linear scale
const qreal areaFactor = qPow(10, qreal(m_areaFactor - 50) / 50); const qreal areaFactor = qPow(10, qreal(m_areaFactor - 50) / 50);
const qreal repellingForce = qPow(10, qreal(m_repellingForce - 50) / 50); const qreal repellingForce = qPow(10, qreal(m_repellingForce - 50) / 50);
const qreal attractionForce = qPow(10, qreal(m_attractionForce - 50) / 50); const qreal attractionForce = qPow(10, qreal(m_attractionForce - 50) / 50);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment