mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 08:23:08 +00:00
arb:: sliders
This commit is contained in:
1 parent
c8ce9c9826
commit
b55503dc9f
4 files changed
+94
-12
No files matched your search
+1
-1
@@ -535,7 +535,7 @@ EX hyperpoint get_corner_position(cell *c, int cid, ld cf IS(3)) {
|
||||
}
|
||||
#endif
|
||||
if(arb::in()) {
|
||||
auto& sh = arb::current.shapes[arb::id_of(c->master)];
|
||||
auto& sh = arb::current_or_slided().shapes[arb::id_of(c->master)];
|
||||
return normalize(C0 + (sh.vertices[gmod(cid, c->type)] - C0) * 3 / cf);
|
||||
}
|
||||
if(PURE) {
|
||||
|
||||
Reference in new issue
Block a user