arb:: sliders

This commit is contained in:
Zeno Rogue
2020-06-02 02:29:31 +02:00
parent c8ce9c9826
commit b55503dc9f
4 changed files with 94 additions and 12 deletions
+1 -1
View File
@@ -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) {