mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-11 14:56:00 +00:00
rogueviz::smoothcam:: fixed the angle unit to be degrees indeed
This commit is contained in:
@@ -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