diff --git a/panda/src/pstatclient/pStatClientImpl.cxx b/panda/src/pstatclient/pStatClientImpl.cxx index 6ab4d668ae..85699dda49 100644 --- a/panda/src/pstatclient/pStatClientImpl.cxx +++ b/panda/src/pstatclient/pStatClientImpl.cxx @@ -29,7 +29,6 @@ #include "config_pstats.h" #include "pStatProperties.h" #include "cmath.h" -#include "mathNumbers.h" #include @@ -73,7 +72,7 @@ PStatClientImpl(PStatClient *client) : _udp_count_factor = 0.0f; } else { - csincos(pstats_tcp_ratio * MathNumbers::pi_f / 2.0f, + csincos(pstats_tcp_ratio * (3.14159265f / 2.0f), &_udp_count_factor, &_tcp_count_factor); }