mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-28 11:34:30 +00:00
some work on 3D view
This commit is contained in:
1 parent
a3eb161235
commit
e73d2f2f22
12 files changed
+118
-59
No files matched your search
+1
-1
@@ -362,7 +362,7 @@ void virtualRebase(cell*& base, transmatrix& at, bool tohex) {
|
||||
|
||||
void virtualRebase(cell*& base, hyperpoint& h, bool tohex) {
|
||||
// we perform fixing in check, so that it works with larger range
|
||||
virtualRebase(base, h, tohex, [] (const hyperpoint& h) { return hyperbolic ? hpxy(h[0], h[1]) :h; });
|
||||
virtualRebase(base, h, tohex, [] (const hyperpoint& h) { return hyperbolic ? hpxy(h[0], h[1] DC(,h[2])) :h; });
|
||||
}
|
||||
|
||||
// works only in geometries similar to the standard one, and only on heptagons
|
||||
|
||||
Reference in new issue
Block a user