1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

ray:: iteration in intra fix

This commit is contained in:
Zeno Rogue 2021-10-09 17:04:54 +02:00
parent 7d60c2d73e
commit ea2899d7e0

View File

@ -1202,7 +1202,10 @@ void raygen::emit_iterate(int gid1) {
fmain +=
" 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";