1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-14 00:59:43 +00:00

conformal formula accepts ux, uy, uz

This commit is contained in:
Zeno Rogue
2018-11-07 07:21:42 +01:00
parent 3f8d17aa0d
commit 9cff432cee
2 changed files with 4 additions and 1 deletions

View File

@@ -545,6 +545,9 @@ void applymodel(hyperpoint H, hyperpoint& ret) {
ep.extra_params["cx"] = ret[0];
ep.extra_params["cy"] = ret[1];
ep.extra_params["cz"] = ret[2];
ep.extra_params["ux"] = H[0];
ep.extra_params["uy"] = H[1];
ep.extra_params["uz"] = H[2];
ep.s = conformal::formula;
cld res = ep.parse();
ret[0] = real(res);