removed rotmatrix as it did exactly the same as cspin

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:50:12 +02:00
1 parent 9588dfcc50
commit 2cf6abb273
6 files changed
+34 -43

No files matched your search

+1 -1
View File
@@ -256,7 +256,7 @@ void make_twopoint(ld& x, ld& y) {
hyperpoint mobius(hyperpoint h, ld angle, ld scale = 1) {
h = perspective_to_space(h * scale, 1, gcSphere);
h = rotmatrix(angle * degree, 1, 2) * h;
h = cspin(1, 2, angle * degree) * h;
return space_to_perspective(h, 1) / scale;
}