mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 17:27:57 +00:00
used cyclefix and raddif in more places; (c)spin90, (c)spin180 and spin180 functions; rephrased M_PI in terms of TAU and x._deg when applicable
This commit is contained in:
@@ -64,7 +64,7 @@ void compute_triangle_markers() {
|
||||
println(hlog, triangle_markers);
|
||||
|
||||
for(int i=0; i<isize(fif); i++) {
|
||||
turns.push_back(triangle_markers[i+1] == 0 ? 90*degree : 0);
|
||||
turns.push_back(triangle_markers[i+1] == 0 ? 90._deg : 0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -480,7 +480,7 @@ auto fifteen_hook =
|
||||
popScreenAll();
|
||||
fullcenter();
|
||||
if(lev == "coiled" || lev == "mobiusband")
|
||||
View = spin(90*degree) * View;
|
||||
View = spin90() * View;
|
||||
if(lev == "mobiusband")
|
||||
View = MirrorX * View;
|
||||
}
|
||||
|
Reference in New Issue
Block a user