Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cube_types.hpp
Go to the documentation of this file.
1 
3 #pragma once
4 
5 #include <stddef.h>
6 
7 typedef unsigned char uchar;
8 typedef unsigned short ushort;
9 typedef unsigned int uint;
10 typedef unsigned long ulong;
11 typedef signed long long int llong;
12 typedef unsigned long long int ullong;
13 
14 
16 #define MAXSTRLEN 260
17 typedef char string[MAXSTRLEN];
19 
21 #ifdef WIN32
22 #define PATHDIV '\\'
23 #else
24 #define PATHDIV '/'
25 #endif
26 
27 // some important mathematical constants:
28 #define PI (3.1415927f)
29 #define PI2 (2*PI)
30 #define SQRT2 (1.4142136f)
31 #define SQRT3 (1.7320508f)
32 #define RAD (PI / 180.0f)
33 
34 #ifndef NULL
35 #define NULL 0
36 #endif
unsigned long ulong
Definition: cube_types.hpp:10
unsigned int uint
Definition: cube_types.hpp:9
unsigned short ushort
Definition: cube_types.hpp:8
unsigned long long int ullong
Definition: cube_types.hpp:12
#define MAXSTRLEN
maximal cube-string length.
Definition: cube_types.hpp:16
unsigned char uchar
Basic type definitions.
Definition: cube_types.hpp:7
signed long long int llong
Definition: cube_types.hpp:11