mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 16:07:11 +00:00
ray:: stereo modes
This commit is contained in:
1 parent
838d6a583a
commit
928e369977
4 files changed
+33
-12
No files matched your search
@@ -4437,7 +4437,6 @@ EX void drawthemap() {
|
||||
profile_start(1);
|
||||
make_actual_view();
|
||||
currentmap->draw();
|
||||
if(ray::in_use && !ray::comparison_mode) ray::cast();
|
||||
drawWormSegments();
|
||||
drawBlizzards();
|
||||
drawArrowTraps();
|
||||
@@ -4703,13 +4702,6 @@ EX void drawfullmap() {
|
||||
drawqueue();
|
||||
#endif
|
||||
|
||||
if(ray::in_use && ray::comparison_mode) {
|
||||
glDepthFunc(GL_LEQUAL);
|
||||
glClearDepth(1.0f);
|
||||
glClear(GL_DEPTH_BUFFER_BIT);
|
||||
ray::cast();
|
||||
}
|
||||
|
||||
profile_stop(2);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user