1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 10:44:48 +00:00

added missing EX

This commit is contained in:
Zeno Rogue 2021-03-30 00:04:20 +02:00
parent 7b5a67549d
commit 1f939920d2

View File

@ -83,7 +83,7 @@ EX color_t gradient(color_t c0, color_t c1, ld v0, ld v, ld v1) {
return c;
}
color_t rcolor() {
EX color_t rcolor() {
color_t res;
part(res, 0) = hrand(0x80);
part(res, 1) = hrand(256);
@ -93,7 +93,7 @@ color_t rcolor() {
return res;
}
color_t rainbow_color(ld sat, ld hue) {
EX color_t rainbow_color(ld sat, ld hue) {
hue = frac(hue);
if(hue < 0) hue++;