1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 17:07:40 +00:00

rug :: partially generalized to 3D (but no interesting results)

This commit is contained in:
Zeno Rogue
2019-05-20 13:42:32 +02:00
parent 0f783f86aa
commit 92a22a5e3f
3 changed files with 47 additions and 24 deletions

View File

@@ -3739,6 +3739,8 @@ hyperpoint hpxy(ld x, ld y);
hyperpoint hpxy3(ld x, ld y, ld z);
ld sqhypot_d(int d, const hyperpoint& h);
ld hypot_d(int d, const hyperpoint& h);
ld dsqhypot_d(int d, const hyperpoint& a, const hyperpoint& b);
ld dhypot_d(int d, const hyperpoint& a, const hyperpoint& b);
transmatrix pushxto0(const hyperpoint& H);
transmatrix rpushxto0(const hyperpoint& H);
transmatrix spintox(const hyperpoint& H);