mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-01 10:17:56 +00:00
3d:: sphere:: fixed sphereflip (and thus noshmup movement)
This commit is contained in:
2
hyper.h
2
hyper.h
@@ -3174,7 +3174,7 @@ static const auto SKIPFAC = .4;
|
||||
bool haveMobileCompass();
|
||||
bool handleCompass();
|
||||
|
||||
inline bool sphereflipped() { return sphere && vid.alpha > 1.1; }
|
||||
inline bool sphereflipped() { return sphere && vid.alpha > 1.1 && DIM == 3; }
|
||||
int cellcolor(cell *c);
|
||||
transmatrix screenpos(ld x, ld y);
|
||||
extern ld backbrightness;
|
||||
|
@@ -379,6 +379,7 @@ transmatrix relative_matrix(heptagon *h2, heptagon *h1) {
|
||||
}
|
||||
|
||||
void draw() {
|
||||
sphereflip = Id;
|
||||
auto m = (hrmap_spherical3*) currentmap;
|
||||
|
||||
for(int i=0; i<120; i++) if(m->cells[i])
|
||||
|
Reference in New Issue
Block a user