mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Use pi
instead of 3.14159f
This commit is contained in:
parent
4d0cd7f807
commit
fcec553599
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue