mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
more help for Rug
This commit is contained in:
parent
cdba8c76b3
commit
86e760a562
6
rug.cpp
6
rug.cpp
@ -1418,7 +1418,7 @@ void show() {
|
|||||||
if(rug::rugged && torus)
|
if(rug::rugged && torus)
|
||||||
dialog::addBoolItem(XLAT("keep shape"), keep_shape, 'k');
|
dialog::addBoolItem(XLAT("keep shape"), keep_shape, 'k');
|
||||||
if(!(keep_shape && good_shape)) {
|
if(!(keep_shape && good_shape)) {
|
||||||
dialog::addSelItem(XLAT("error"), ftsg(err_zero), 'e');
|
dialog::addSelItem(XLAT("maximum error"), ftsg(err_zero), 'e');
|
||||||
if(rug::rugged)
|
if(rug::rugged)
|
||||||
dialog::lastItem().value += " (" + ftsg(err_zero_current) + ")";
|
dialog::lastItem().value += " (" + ftsg(err_zero_current) + ")";
|
||||||
}
|
}
|
||||||
@ -1480,7 +1480,9 @@ void show() {
|
|||||||
"In the orthogonal projection this just controls the scale."
|
"In the orthogonal projection this just controls the scale."
|
||||||
);
|
);
|
||||||
else if(uni == 'e') {
|
else if(uni == 'e') {
|
||||||
dialog::editNumber(err_zero, 1e-9, 1, .1, 1e-3, "error", "error");
|
dialog::editNumber(err_zero, 1e-9, 1, .1, 1e-3, "maximum error",
|
||||||
|
"New points are added when the current error in the model is smaller than this value."
|
||||||
|
);
|
||||||
dialog::scaleLog();
|
dialog::scaleLog();
|
||||||
dialog::reaction = [] () { err_zero_current = err_zero; };
|
dialog::reaction = [] () { err_zero_current = err_zero; };
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user