1.1 --- a/core/smn_float.cpp Sat Dec 23 02:20:53 2006 +0000
1.2 +++ b/core/smn_float.cpp Thu Dec 28 00:48:09 2006 +0000
1.3 @@ -1,20 +1,12 @@
1.4 #include <math.h>
1.5 #include <string.h>
1.6 #include "sp_vm_api.h"
1.7 +#include "sp_vm_typeutil.h"
1.8
1.9 using namespace SourcePawn;
1.10
1.11 #define PI 3.14159265358979323846
1.12
1.13 -inline cell_t ftoc(float val)
1.14 -{
1.15 - return *(cell_t *)&val;
1.16 -}
1.17 -inline float ctof(cell_t val)
1.18 -{
1.19 - return *(float *)&val;
1.20 -}
1.21 -
1.22 inline float AngleToRadians(float val, int mode)
1.23 {
1.24 switch (mode)