exports for raycasting

This commit is contained in:
Zeno Rogue 2019-10-22 00:37:24 +02:00
parent 655af58ae1
commit be3d755d09
2 changed files with 3 additions and 2 deletions

View File

@ -3412,7 +3412,7 @@ color_t magma_color(int id) {
else return winf[waMagma].color; else return winf[waMagma].color;
} }
void setcolors(cell *c, color_t& wcol, color_t& fcol) { EX void setcolors(cell *c, color_t& wcol, color_t& fcol) {
wcol = fcol = winf[c->wall].color; wcol = fcol = winf[c->wall].color;

View File

@ -36,7 +36,8 @@ EX namespace reg3 {
return bucketer(h[0]) + 1000 * bucketer(h[1]) + 1000000 * bucketer(h[2]); return bucketer(h[0]) + 1000 * bucketer(h[1]) + 1000000 * bucketer(h[2]);
} }
int loop, face; EX int loop;
EX int face;
EX vector<hyperpoint> cellshape; EX vector<hyperpoint> cellshape;
vector<hyperpoint> vertices_only; vector<hyperpoint> vertices_only;