mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-12 07:16:01 +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:
@@ -13,7 +13,7 @@ namespace spiral {
|
||||
ld mul;
|
||||
|
||||
transmatrix at(double d) {
|
||||
return spin(log(d) * 2 * M_PI / log(mul)) * xpush(log(d));
|
||||
return spin(log(d) * TAU / log(mul)) * xpush(log(d));
|
||||
}
|
||||
|
||||
void place(int N, ld _mul) {
|
||||
|
Reference in New Issue
Block a user