mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-29 04:47:41 +00:00
stretch:: renamed rots_twist to stretch, also implemented for slr
This commit is contained in:
14
geom-exp.cpp
14
geom-exp.cpp
@@ -826,6 +826,20 @@ EX void showEuclideanMenu() {
|
||||
});
|
||||
}
|
||||
|
||||
if(stretch::applicable()) {
|
||||
dialog::addSelItem(XLAT("stretched geometry"), fts(stretch::factor), 'S');
|
||||
dialog::add_action([] {
|
||||
dialog::editNumber(stretch::factor, -1, 9, 0.1, 0, XLAT("stretched geometry"),
|
||||
XLAT(
|
||||
"Stretch the metric along the fibers. This can currently be done in rotation spaces and in 8-cell, 24-cell and 120-cell. "
|
||||
"Value of 0 means not stretched, -1 means S2xE or H2xE (works only in the limit). "
|
||||
"Only the raycaster is implemented for stretched geometry, so you will see only walls."
|
||||
)
|
||||
);
|
||||
dialog::reaction = ray::reset_raycaster;
|
||||
});
|
||||
}
|
||||
|
||||
dialog::addBreak(100);
|
||||
dialog::addSelItem(XLAT("land"), XLAT1(linf[specialland].name), 'l');
|
||||
dialog::add_action_push(ge_land_selection);
|
||||
|
||||
Reference in New Issue
Block a user