Global.hh File Reference
#include <stdint.h>
Go to the source code of this file.
Define Documentation
#define GZ_ALL_COLLIDE 0xFFFFFFFF |
|
#define GZ_NONE_COLLIDE 0x00000000 |
|
#define GZ_FIXED_COLLIDE 0x00000001 |
|
#define GZ_LASER_COLLIDE 0x00000002 |
|
#define GZ_ALL_CAMERA 0xFFFFFFFF |
|
#define GZ_LASER_CAMERA 0x00000001 |
|
#define GZ_GUIDATA_CAMERA 0x00000002 |
|
#define GZ_RENDER_MAX_PASSES 3 |
|
#define GZ_RENDER_LIGHT 0 |
|
#define GZ_RENDER_OPAQUE 1 |
|
#define GZ_RENDER_TRANSPARENT 2 |
|
#define RTOD |
( |
r |
|
) |
((r) * 180 / M_PI) |
|
#define DTOR |
( |
d |
|
) |
((d) * M_PI / 180) |
|
#define NORMALIZE |
( |
a |
|
) |
(atan2(sin(a), cos(a))) |
|
#define IsEven |
( |
x |
|
) |
( ((x) % 2) == 0) |
|
#define IsOdd |
( |
x |
|
) |
( ((x) % 2) != 0) |
|
#define Max |
( |
x, |
|
|
y |
|
) |
( (x) > (y) ? (x) : (y) ) |
|
#define Min |
( |
x, |
|
|
y |
|
) |
( (x) < (y) ? (x) : (y) ) |
|
#define Round |
( |
x |
|
) |
( (int)( floor((x)+0.5) ) ) |
|
Typedef Documentation
typedef unsigned char uchar |
|
typedef unsigned int uint |
|
typedef unsigned long ulong |
|
Last updated 12 September 2005 21:38:45
|