BHandDef.h
Go to the documentation of this file.
00001 /* Allegro, Copyright 2012 SimLab Co., Ltd. All rights reserved.
00002  *
00003  * This library is commercial and cannot be redistributed, and/or modified
00004  * WITHOUT ANY ALLOWANCE OR PERMISSION OF SimLab Co., LTD.
00005  */
00006 
00012 #ifndef __BHANDDEF_H__
00013 #define __BHANDDEF_H__
00014 
00015 /* DLL export */
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__
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


AllegroHand
Author(s): Alex Alspach (SimLab), Seungsu Kim (EPFL)
autogenerated on Thu Mar 21 2013 21:24:05