mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-29 08:23:08 +00:00
raycasting::: ray_comparison_mode
This commit is contained in:
1 parent
0905117869
commit
8337a83568
2 files changed
+19
-3
No files matched your search
@@ -404,6 +404,9 @@ void bind_array(vector<array<float, 4>>& v, GLint t, GLuint& tx, int id) {
|
||||
|
||||
EX void do_raycast() {
|
||||
enable_raycaster();
|
||||
|
||||
if(ray_comparison_mode)
|
||||
glColorMask( GL_TRUE,GL_FALSE,GL_FALSE,GL_TRUE );
|
||||
|
||||
auto& o = our_raycaster;
|
||||
|
||||
|
||||
Reference in new issue
Block a user