From d42d6a4c84cde1470958a1bb18d63e6c9391d3c9 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 2 Apr 2021 15:52:09 +0200 Subject: [PATCH] added point30 for clarity --- hyperpoint.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hyperpoint.cpp b/hyperpoint.cpp index 77e09c53..dbb66509 100644 --- a/hyperpoint.cpp +++ b/hyperpoint.cpp @@ -213,6 +213,7 @@ constexpr transmatrix centralsym = diag(-1,-1,-1,-1); inline hyperpoint hpxyz(ld x, ld y, ld z) { return MDIM == 3 ? hyperpoint(x,y,z,0) : hyperpoint(x,y,0,z); } inline hyperpoint hpxyz3(ld x, ld y, ld z, ld w) { return MDIM == 3 ? hyperpoint(x,y,w,0) : hyperpoint(x,y,z,w); } constexpr hyperpoint point3(ld x, ld y, ld z) { return hyperpoint(x,y,z,0); } +constexpr hyperpoint point30(ld x, ld y, ld z) { return hyperpoint(x,y,z,0); } constexpr hyperpoint point31(ld x, ld y, ld z) { return hyperpoint(x,y,z,1); } constexpr hyperpoint point2(ld x, ld y) { return hyperpoint(x,y,0,0); }