mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 17:27:57 +00:00
reworked wmspatial: consistent naming of geometry variables, priorities, and side parameters. Fixed some bugs with shallow water
This commit is contained in:
@@ -2227,7 +2227,7 @@ EX void adjust_eye(transmatrix& T, cell *c, ld sign) {
|
||||
if(isWorm(c->monst) && sl < 3) sl++;
|
||||
ld i = cgi.emb->center_z();
|
||||
if(sl || vid.eye || i)
|
||||
T = T * lzpush(sign * (cgi.SLEV[sl] - cgi.FLOOR - vid.eye + i));
|
||||
T = T * lzpush(sign * (cgi.RED[sl] - cgi.FLOOR - vid.eye + i));
|
||||
}
|
||||
|
||||
EX bool shmup_inverted() {
|
||||
|
Reference in New Issue
Block a user