arb:: sliders

This commit is contained in:
Zeno Rogue committed 2020-06-02 02:29:31 +02:00
1 parent c8ce9c9826
commit b55503dc9f
4 files changed
+94 -12

No files matched your search

+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) {