Browse Source

no longer depends on linmath

David Rose 20 years ago
parent
commit
f4ecb972b4
1 changed files with 1 additions and 2 deletions
  1. 1 2
      panda/src/pstatclient/pStatClientImpl.cxx

+ 1 - 2
panda/src/pstatclient/pStatClientImpl.cxx

@@ -29,7 +29,6 @@
 #include "config_pstats.h"
 #include "config_pstats.h"
 #include "pStatProperties.h"
 #include "pStatProperties.h"
 #include "cmath.h"
 #include "cmath.h"
-#include "mathNumbers.h"
 
 
 #include <algorithm>
 #include <algorithm>
 
 
@@ -73,7 +72,7 @@ PStatClientImpl(PStatClient *client) :
     _udp_count_factor = 0.0f;
     _udp_count_factor = 0.0f;
 
 
   } else {
   } else {
-    csincos(pstats_tcp_ratio * MathNumbers::pi_f / 2.0f,
+    csincos(pstats_tcp_ratio * (3.14159265f / 2.0f),
             &_udp_count_factor,
             &_udp_count_factor,
             &_tcp_count_factor);
             &_tcp_count_factor);
   }
   }