mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-28 00:23:08 +00:00
rogueviz::smoothcam:: fixed the angle unit to be degrees indeed
This commit is contained in:
1 parent
17fc76c0eb
commit
37fa49aab8
1 file changed
+1
-1
@@ -403,7 +403,7 @@ void show() {
|
||||
dist = fts(d) + "au";
|
||||
else {
|
||||
transmatrix T = f.sView * iso_inverse(View);
|
||||
dist = fts(kz(acos_clamp(T[2][2]))) + "°/" + fts(kz(acos_clamp(T[1][1]))) + "°";
|
||||
dist = fts(kz(acos_clamp(T[2][2])/degree)) + "°/" + fts(kz(acos_clamp(T[1][1])/degree)) + "°";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user