mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
ray:: iteration in intra fix
This commit is contained in:
parent
7d60c2d73e
commit
ea2899d7e0
@ -1202,7 +1202,10 @@ void raygen::emit_iterate(int gid1) {
|
|||||||
fmain +=
|
fmain +=
|
||||||
" int which = -1;\n";
|
" int which = -1;\n";
|
||||||
|
|
||||||
if(hyperbolic && intra::in) fmain += "iter +=8;\n";
|
if(intra::in) {
|
||||||
|
if(hyperbolic) fmain += "iter += 44;\n";
|
||||||
|
else if(!sol) fmain += "iter += 4;\n";
|
||||||
|
}
|
||||||
|
|
||||||
if(in_e2xe() && !eyes) fmain += "tangent.w = position.w = 0.;\n";
|
if(in_e2xe() && !eyes) fmain += "tangent.w = position.w = 0.;\n";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user