Use pi instead of 3.14159f

This commit is contained in:
Robert Müller 2022-11-06 10:48:06 +01:00
parent 4d0cd7f807
commit fcec553599

View file

@ -228,7 +228,7 @@ void CGameContext::FillAntibot(CAntibotRoundData *pData)
void CGameContext::CreateDamageInd(vec2 Pos, float Angle, int Amount, int64_t Mask)
{
float a = 3 * 3.14159f / 2 + Angle;
float a = 3 * pi / 2 + Angle;
//float a = get_angle(dir);
float s = a - pi / 3;
float e = a + pi / 3;