mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-26 08:07:10 +00:00
nicer handling of WDIM, GDIM, MDIM, sig
This commit is contained in:
1 parent
89413ae42a
commit
2f954d0538
10 files changed
+117
-65
No files matched your search
+1
-1
@@ -171,7 +171,7 @@ ld inverse_tanh(ld x) { return log((1+x)/(1-x)) / 2; } */
|
||||
|
||||
EX ld squar(ld x) { return x*x; }
|
||||
|
||||
EX int sig(int z) { return prod ? PIU(sig(z)) : (sphere || sol || z<GDIM)?1:-1; }
|
||||
EX int sig(int z) { return ginf[geometry].g.sig[z]; }
|
||||
|
||||
EX int curvature() {
|
||||
switch(cgclass) {
|
||||
|
||||
Reference in new issue
Block a user