backandfront projection option

This commit is contained in:
Zeno Rogue committed 2021-09-18 01:39:09 +02:00
1 parent a7ddaae7d4
commit 96c143da8e
4 files changed
+18

No files matched your search

+4
View File
@@ -2164,6 +2164,10 @@ EX void show3D() {
XLAT("Rotate the camera. Can be used to obtain a first person perspective, "
"or third person perspective when combined with Y shift.")
);
dialog::extra_options = [] {
dialog::addBoolItem(XLAT("render behind the camera"), vpconf.back_and_front, 'R');
dialog::add_action([] { vpconf.back_and_front = !vpconf.back_and_front; });
};
});
}
if(GDIM == 2) {