From f4ecb972b40c259f9391a33bcf8dd9613aabe60b Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 29 Mar 2006 00:29:19 +0000 Subject: [PATCH] no longer depends on linmath --- panda/src/pstatclient/pStatClientImpl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }