mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
sol:: fixup inv_exp
This commit is contained in:
parent
774c871c74
commit
3b08b0c7fb
2
sol.cpp
2
sol.cpp
@ -142,8 +142,6 @@ namespace solv {
|
|||||||
int ay = iy, by = ay+1;
|
int ay = iy, by = ay+1;
|
||||||
int az = iz, bz = az+1;
|
int az = iz, bz = az+1;
|
||||||
|
|
||||||
pt res = C0;
|
|
||||||
|
|
||||||
#define S0(x,y,z) inverse_exp_table[(z*PRECY+y)*PRECX+x][t]
|
#define S0(x,y,z) inverse_exp_table[(z*PRECY+y)*PRECX+x][t]
|
||||||
#define S1(x,y) (S0(x,y,az) * (bz-iz) + S0(x,y,bz) * (iz-az))
|
#define S1(x,y) (S0(x,y,az) * (bz-iz) + S0(x,y,bz) * (iz-az))
|
||||||
#define S2(x) (S1(x,ay) * (by-iy) + S1(x,by) * (iy-ay))
|
#define S2(x) (S1(x,ay) * (by-iy) + S1(x,by) * (iy-ay))
|
||||||
|
Loading…
Reference in New Issue
Block a user