Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Rocs
Commits
990175c0
Commit
990175c0
authored
Jun 23, 2020
by
Dilson Guimarães
Committed by
Caio Tonetti
Nov 20, 2020
Browse files
Fixed typos in a comment about slider values.
parent
f37cd886
Changes
1
Hide whitespace changes
Inline
Side-by-side
libgraphtheory/editorplugins/graphlayout/graphlayoutwidget.cpp
View file @
990175c0
...
...
@@ -92,7 +92,7 @@ void GraphLayoutWidget::setSeed(int seed)
void
GraphLayoutWidget
::
layoutGraph
()
{
//Slider
s
values map to parameter
e
s 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
repellingForce
=
qPow
(
10
,
qreal
(
m_repellingForce
-
50
)
/
50
);
const
qreal
attractionForce
=
qPow
(
10
,
qreal
(
m_attractionForce
-
50
)
/
50
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment