1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-18 03:58:04 +00:00

enhancement to magic adjustment

This commit is contained in:
Zeno Rogue
2018-01-03 01:05:03 +01:00
parent 5f1b1a54eb
commit 46f8ce200b
2 changed files with 133 additions and 59 deletions

View File

@@ -208,8 +208,8 @@ transmatrix euscalezoom(hyperpoint h) {
transmatrix euaffine(hyperpoint h) {
transmatrix T = Id;
T[1][0] = h[0];
T[1][2] = h[1];
T[0][1] = h[0];
T[1][1] = exp(h[1]);
return T;
}