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:
@@ -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