mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-23 06:20:09 +00:00
fixed shmup in elliptic
This commit is contained in:
parent
a7ac7b0894
commit
830a2703dd
@ -2903,6 +2903,10 @@ bool celldrawer::draw_shmup_monster() {
|
|||||||
if(c != m->base) continue; // may happen in RogueViz Collatz
|
if(c != m->base) continue; // may happen in RogueViz Collatz
|
||||||
m->pat = ggmatrix(m->base) * m->at;
|
m->pat = ggmatrix(m->base) * m->at;
|
||||||
shiftmatrix view = V * m->at;
|
shiftmatrix view = V * m->at;
|
||||||
|
|
||||||
|
bool half_elliptic = elliptic && GDIM == 3 && WDIM == 2;
|
||||||
|
bool mirrored = det(view.T) > 0;
|
||||||
|
if(half_elliptic && mirrored) continue;
|
||||||
|
|
||||||
if(!mouseout()) {
|
if(!mouseout()) {
|
||||||
if(m->no_targetting) ; else
|
if(m->no_targetting) ; else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user