mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 08:23:08 +00:00
twist:: nil twist in raycaster
This commit is contained in:
1 parent
8b7d7d56e9
commit
75f631cd40
2 files changed
+11
-9
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user