refactored binarytiling::parabolic to parabolic1 in hyperpoint

This commit is contained in:
Zeno Rogue committed 2018-12-11 22:10:53 +01:00
1 parent 8866bc889d
commit c45fa9bd9a
2 files changed
+5 -2

No files matched your search

+4
View File
@@ -319,6 +319,10 @@ transmatrix ypush(ld alpha) {
return T;
}
transmatrix parabolic1(ld u) {
return transmatrix {{{-u*u/2+1, u, u*u/2}, {-u, 1, u}, {-u*u/2, u, u*u/2+1}}};
}
// rotate the hyperbolic plane around C0 such that H[1] == 0 and H[0] >= 0
transmatrix spintox(const hyperpoint& H) {
transmatrix T = Id;