aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-01-29 11:35:53 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2016-01-29 11:35:53 +0100
commit354b3a4f09eb2b76a1af8cad6eb348949beda547 (patch)
treed85c27bc1fec91b3d70c568bdd2ae5b6bf3d9656
parentdc5102d5fccac6e527913128f219c6199f1b8882 (diff)
More informative splat parameters.
-rw-r--r--main.cpp2
-rw-r--r--main_view.qml4
2 files changed, 3 insertions, 3 deletions
diff --git a/main.cpp b/main.cpp
index d478146..295b103 100644
--- a/main.cpp
+++ b/main.cpp
@@ -113,7 +113,7 @@ int main(int argc, char **argv)
return 1;
}
- // Sort indices so some operations become easier later
+ // Sort indices (some operations become easier later)
arma::uvec cpSortedIndices = arma::sort_index(cpIndices);
cpIndices = cpIndices(cpSortedIndices);
Ys = Ys.rows(cpSortedIndices);
diff --git a/main_view.qml b/main_view.qml
index 48caa12..241f440 100644
--- a/main_view.qml
+++ b/main_view.qml
@@ -306,7 +306,7 @@ ApplicationWindow {
GridLayout {
columns: 2
- Label { text: "Alpha:" }
+ Label { text: "Blur (α):" }
SpinBox {
id: alphaSpinBox
maximumValue: 100
@@ -317,7 +317,7 @@ ApplicationWindow {
onValueChanged: splat.setAlpha(this.value)
}
- Label { text: "Beta:" }
+ Label { text: "Radius (β):" }
SpinBox {
id: betaSpinBox
maximumValue: 100