mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Use DAngle::fromRad()
method in maphoriz()
.
This commit is contained in:
parent
537e9df6ec
commit
5a698fbc2b
1 changed files with 1 additions and 1 deletions
|
@ -696,5 +696,5 @@ constexpr DAngle mapangle(int mapang)
|
|||
}
|
||||
inline DAngle maphoriz(double maphoriz)
|
||||
{
|
||||
return DAngle::fromDeg(g_atan2(maphoriz, 128.) * (180. / pi::pi()));
|
||||
return DAngle::fromRad(g_atan2(maphoriz, 128.));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue