1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-30 13:32:59 +00:00

Merge branch 'zenorogue:master' into main

This commit is contained in:
Charlotte Peppers
2022-03-07 17:44:10 -07:00
committed by GitHub
17 changed files with 211 additions and 59 deletions

View File

@@ -3075,7 +3075,7 @@ EX void addaura(shiftpoint h, color_t col, int fd) {
if(!haveaura_cached) return;
apply_joukowsky_aura(h);
int r = int(2*AURA + atan2(h[1], h[0]) * AURA / 2 / M_PI) % AURA;
int r = gmod(atan2(h[1], h[0]) * AURA / 2 / M_PI, AURA);
aurac[r][3] += auramemo << fd;
col = darkened(col);
aurac[r][0] += (col>>16)&255;