1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-10 14:26:01 +00:00

twist:: nil twist in raycaster

This commit is contained in:
Zeno Rogue
2024-06-16 23:46:46 +02:00
parent 8b7d7d56e9
commit 75f631cd40
2 changed files with 11 additions and 9 deletions

View File

@@ -891,6 +891,8 @@ hyperpoint ray_kleinize_twisted(hyperpoint h, int ks, int id) {
if(id < ks) h = spin(-TAU * id / ks) * h;
if(nil) return hyperpoint(x, y, z - x * y / 2, 1);
ld dx, dy;
if(sl2) {