mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-05 15:34:27 +00:00
enhancement to magic adjustment
This commit is contained in:
1 parent
5f1b1a54eb
commit
46f8ce200b
2 files changed
+133
-59
No files matched your search
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user