Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00012 #ifndef __BHANDDEF_H__
00013 #define __BHANDDEF_H__
00014
00015
00016 #if defined(WIN32) || defined(WINCE)
00017 # if defined(BHAND_EXPORTS)
00018 # define BHANDEXPORT __declspec(dllexport)
00019 # elif defined(BHAND_IMPORTS)
00020 # define BHANDEXPORT __declspec(dllimport)
00021 # else
00022 # define BHANDEXPORT
00023 # endif
00024 #else
00025 # define BHANDEXPORT
00026 #endif
00027
00028
00029 #ifdef __cplusplus
00030 # define BHAND_EXTERN_C_BEGIN extern "C" {
00031 # define BHAND_EXTERN_C_END }
00032 #else
00033 # define BHAND_EXTERN_C_BEGIN
00034 # define BHAND_EXTERN_C_END
00035 #endif
00036
00037 #ifndef DEG2RAD
00038 #define DEG2RAD (3.141592f/180.0f)
00039 #endif
00040
00041 #ifndef RAD2DEG
00042 #define RAD2DEG (180.0f/3.141592f)
00043 #endif
00044
00045 #endif // __BHANDDEF_H__