fixed towards_inf to actually accept dist parameter

This commit is contained in:
Zeno Rogue 2022-04-25 00:07:37 +02:00
parent 65ab10ff18
commit 575fd136d7
1 changed files with 1 additions and 1 deletions

View File

@ -1688,7 +1688,7 @@ EX hyperpoint circumscribe(hyperpoint a, hyperpoint b, hyperpoint c, hyperpoint
EX hyperpoint towards_inf(hyperpoint material, hyperpoint dir, ld dist IS(1)) {
transmatrix T = gpushxto0(material);
hyperpoint id = T * dir;
return rgpushxto0(material) * rspintox(id) * xpush0(1);
return rgpushxto0(material) * rspintox(id) * xpush0(dist);
}
EX bool clockwise(hyperpoint h1, hyperpoint h2) {