From 41107f13d62841ce434c1cfb21c8df0f148ae20d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 27 Oct 2019 00:57:06 +0200 Subject: [PATCH] fixed singular matrix in raywall --- polygons.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/polygons.cpp b/polygons.cpp index 6e4e9652..7e6cafe9 100644 --- a/polygons.cpp +++ b/polygons.cpp @@ -765,8 +765,7 @@ void geometry_information::make_wall(int id, vector vertices, vector hyperpoint v2 = vertices[(a+1)%n]; if(!triangles || (a%6 == 1)) { - transmatrix T = build_matrix(ray_kleinize(v1, id), ray_kleinize(v2, id), ray_kleinize(ocenter, id), point3(.1,.2,.3)); - println(hlog, "id = ", id, " iT = ", T); + transmatrix T = build_matrix(ray_kleinize(v1, id), ray_kleinize(v2, id), ray_kleinize(ocenter, id), point31(.11,.19,.3)); T = inverse(T); raywall.push_back(T); }