5 #ifndef __IRRKLANG_TYPES_H_INCLUDED__
6 #define __IRRKLANG_TYPES_H_INCLUDED__
59 const ik_f64
IK_PI64 = 3.1415926535897932384626433832795028841971693993751;
68 inline bool equalsfloat(
const ik_f32 a,
const ik_f32 b,
const ik_f32 tolerance = IK_ROUNDING_ERROR_32)
70 return (a + tolerance > b) && (a - tolerance < b);
79 #ifdef _MSC_VER // microsoft compiler
80 #ifndef _WCHAR_T_DEFINED
89 typedef unsigned short wchar_t;
90 #define _WCHAR_T_DEFINED
91 #endif // wchar is not defined
92 #endif // microsoft compiler
95 #endif // __IRR_TYPES_H_INCLUDED__
signed char ik_s8
8 bit signed variable.
unsigned int ik_u32
32 bit unsigned variable.
signed int ik_s32
32 bit signed variable.
char ik_c8
8 bit character variable.
double ik_f64
64 bit floating point variable.
Everything in the irrKlang Sound Engine can be found in this namespace.
const ik_f32 IK_ROUNDING_ERROR_32
unsigned char ik_u8
8 bit unsigned variable.
signed short ik_s16
16 bit signed variable.
const ik_f64 IK_DEGTORAD64
bool equalsfloat(const ik_f32 a, const ik_f32 b, const ik_f32 tolerance=IK_ROUNDING_ERROR_32)
unsigned short ik_u16
16 bit unsigned variable.
float ik_f32
32 bit floating point variable.
const ik_f64 IK_RADTODEG64