From 575fd136d7b0da93fe0583e5b41b01c67e604803 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 25 Apr 2022 00:07:37 +0200 Subject: [PATCH] fixed towards_inf to actually accept dist parameter --- hyperpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperpoint.cpp b/hyperpoint.cpp index ee3612c7..32177cad 100644 --- a/hyperpoint.cpp +++ b/hyperpoint.cpp @@ -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) {