mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-30 07:17:03 +00:00
exports for raycasting
This commit is contained in:
parent
655af58ae1
commit
be3d755d09
@ -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;
|
||||||
|
|
||||||
|
3
reg3.cpp
3
reg3.cpp
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user