mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-04 03:27:55 +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:
@@ -72,9 +72,9 @@ void circ_frame() {
|
||||
|
||||
shiftmatrix at = ggmatrix(cwt.at) * xpush(xdist);
|
||||
|
||||
ld kdegree = 2 * M_PI / prec;
|
||||
ld kdegree = TAU / prec;
|
||||
|
||||
ld cs = 2*M_PI*cshift;
|
||||
ld cs = TAU * cshift;
|
||||
|
||||
if(shape) {
|
||||
auto shapefun = [&] (ld x) {
|
||||
|
Reference in New Issue
Block a user