1
0
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:
Zeno Rogue 2019-07-31 15:19:51 +02:00
parent 774c871c74
commit 3b08b0c7fb

View File

@ -142,8 +142,6 @@ namespace solv {
int ay = iy, by = ay+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 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))