Bullet Collision Detection & Physics Library: bDefines.h File Reference

Bullet Collision Detection & Physics Library

Macros
bDefines.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | SIZEOFBLENDERHEADER 12
#define | MAKE_ID(a, b, c, d) ((int)(d) << 24 | (int)(c) << 16 | (b) << 8 | (a))
#define | MAKE_ID2(c, d) ((d) << 8 | (c))
#define | MOST_SIG_BYTE 1
#define | BLITTLE_ENDIAN
#define | ID_SCE MAKE_ID2('S', 'C')
#define | ID_LI MAKE_ID2('L', 'I')
#define | ID_OB MAKE_ID2('O', 'B')
#define | ID_ME MAKE_ID2('M', 'E')
#define | ID_CU MAKE_ID2('C', 'U')
#define | ID_MB MAKE_ID2('M', 'B')
#define | ID_MA MAKE_ID2('M', 'A')
#define | ID_TE MAKE_ID2('T', 'E')
#define | ID_IM MAKE_ID2('I', 'M')
#define | ID_IK MAKE_ID2('I', 'K')
#define | ID_WV MAKE_ID2('W', 'V')
#define | ID_LT MAKE_ID2('L', 'T')
#define | ID_SE MAKE_ID2('S', 'E')
#define | ID_LF MAKE_ID2('L', 'F')
#define | ID_LA MAKE_ID2('L', 'A')
#define | ID_CA MAKE_ID2('C', 'A')
#define | ID_IP MAKE_ID2('I', 'P')
#define | ID_KE MAKE_ID2('K', 'E')
#define | ID_WO MAKE_ID2('W', 'O')
#define | ID_SCR MAKE_ID2('S', 'R')
#define | ID_VF MAKE_ID2('V', 'F')
#define | ID_TXT MAKE_ID2('T', 'X')
#define | ID_SO MAKE_ID2('S', 'O')
#define | ID_SAMPLE MAKE_ID2('S', 'A')
#define | ID_GR MAKE_ID2('G', 'R')
#define | ID_ID MAKE_ID2('I', 'D')
#define | ID_AR MAKE_ID2('A', 'R')
#define | ID_AC MAKE_ID2('A', 'C')
#define | ID_SCRIPT MAKE_ID2('P', 'Y')
#define | ID_FLUIDSIM MAKE_ID2('F', 'S')
#define | ID_NT MAKE_ID2('N', 'T')
#define | ID_BR MAKE_ID2('B', 'R')
#define | ID_SEQ MAKE_ID2('S', 'Q')
#define | ID_CO MAKE_ID2('C', 'O')
#define | ID_PO MAKE_ID2('A', 'C')
#define | ID_NLA MAKE_ID2('N', 'L')
#define | ID_VS MAKE_ID2('V', 'S')
#define | ID_VN MAKE_ID2('V', 'N')
#define | FORM MAKE_ID('F', 'O', 'R', 'M')
#define | DDG1 MAKE_ID('3', 'D', 'G', '1')
#define | DDG2 MAKE_ID('3', 'D', 'G', '2')
#define | DDG3 MAKE_ID('3', 'D', 'G', '3')
#define | DDG4 MAKE_ID('3', 'D', 'G', '4')
#define | GOUR MAKE_ID('G', 'O', 'U', 'R')
#define | BLEN MAKE_ID('B', 'L', 'E', 'N')
#define | DER_ MAKE_ID('D', 'E', 'R', '_')
#define | V100 MAKE_ID('V', '1', '0', '0')
#define | DATA MAKE_ID('D', 'A', 'T', 'A')
#define | GLOB MAKE_ID('G', 'L', 'O', 'B')
#define | IMAG MAKE_ID('I', 'M', 'A', 'G')
#define | USER MAKE_ID('U', 'S', 'E', 'R')
#define | DNA1 MAKE_ID('D', 'N', 'A', '1')
#define | REND MAKE_ID('R', 'E', 'N', 'D')
#define | ENDB MAKE_ID('E', 'N', 'D', 'B')
#define | NAME MAKE_ID('N', 'A', 'M', 'E')
#define | SDNA MAKE_ID('S', 'D', 'N', 'A')
#define | TYPE MAKE_ID('T', 'Y', 'P', 'E')
#define | TLEN MAKE_ID('T', 'L', 'E', 'N')
#define | STRC MAKE_ID('S', 'T', 'R', 'C')
#define | SWITCH_INT(a)
#define | SWITCH_SHORT(a)
#define | SWITCH_LONGINT(a)

## Macro Definition Documentation

## ◆ BLEN

#define BLEN MAKE_ID('B', 'L', 'E', 'N')

Definition at line 92 of file bDefines.h.

## ◆ BLITTLE_ENDIAN

#define BLITTLE_ENDIAN

Definition at line 40 of file bDefines.h.

## ◆ DATA

#define DATA MAKE_ID('D', 'A', 'T', 'A')

Definition at line 95 of file bDefines.h.

## ◆ DDG1

#define DDG1 MAKE_ID('3', 'D', 'G', '1')

Definition at line 87 of file bDefines.h.

## ◆ DDG2

#define DDG2 MAKE_ID('3', 'D', 'G', '2')

Definition at line 88 of file bDefines.h.

## ◆ DDG3

#define DDG3 MAKE_ID('3', 'D', 'G', '3')

Definition at line 89 of file bDefines.h.

## ◆ DDG4

#define DDG4 MAKE_ID('3', 'D', 'G', '4')

Definition at line 90 of file bDefines.h.

## ◆ DER_

#define DER_ MAKE_ID('D', 'E', 'R', '_')

Definition at line 93 of file bDefines.h.

## ◆ DNA1

#define DNA1 MAKE_ID('D', 'N', 'A', '1')

Definition at line 101 of file bDefines.h.

## ◆ ENDB

#define ENDB MAKE_ID('E', 'N', 'D', 'B')

Definition at line 103 of file bDefines.h.

## ◆ FORM

#define FORM MAKE_ID('F', 'O', 'R', 'M')

Definition at line 86 of file bDefines.h.

## ◆ GLOB

#define GLOB MAKE_ID('G', 'L', 'O', 'B')

Definition at line 96 of file bDefines.h.

## ◆ GOUR

#define GOUR MAKE_ID('G', 'O', 'U', 'R')

Definition at line 91 of file bDefines.h.

## ◆ ID_AC

#define ID_AC MAKE_ID2('A', 'C')

Definition at line 71 of file bDefines.h.

## ◆ ID_AR

#define ID_AR MAKE_ID2('A', 'R')

Definition at line 70 of file bDefines.h.

## ◆ ID_BR

#define ID_BR MAKE_ID2('B', 'R')

Definition at line 75 of file bDefines.h.

## ◆ ID_CA

#define ID_CA MAKE_ID2('C', 'A')

Definition at line 59 of file bDefines.h.

## ◆ ID_CO

#define ID_CO MAKE_ID2('C', 'O')

Definition at line 78 of file bDefines.h.

## ◆ ID_CU

#define ID_CU MAKE_ID2('C', 'U')

Definition at line 48 of file bDefines.h.

## ◆ ID_FLUIDSIM

#define ID_FLUIDSIM MAKE_ID2('F', 'S')

Definition at line 73 of file bDefines.h.

## ◆ ID_GR

#define ID_GR MAKE_ID2('G', 'R')

Definition at line 68 of file bDefines.h.

## ◆ ID_ID

#define ID_ID MAKE_ID2('I', 'D')

Definition at line 69 of file bDefines.h.

## ◆ ID_IK

#define ID_IK MAKE_ID2('I', 'K')

Definition at line 53 of file bDefines.h.

## ◆ ID_IM

#define ID_IM MAKE_ID2('I', 'M')

Definition at line 52 of file bDefines.h.

## ◆ ID_IP

#define ID_IP MAKE_ID2('I', 'P')

Definition at line 60 of file bDefines.h.

## ◆ ID_KE

#define ID_KE MAKE_ID2('K', 'E')

Definition at line 61 of file bDefines.h.

## ◆ ID_LA

#define ID_LA MAKE_ID2('L', 'A')

Definition at line 58 of file bDefines.h.

## ◆ ID_LF

#define ID_LF MAKE_ID2('L', 'F')

Definition at line 57 of file bDefines.h.

## ◆ ID_LI

#define ID_LI MAKE_ID2('L', 'I')

Definition at line 45 of file bDefines.h.

## ◆ ID_LT

#define ID_LT MAKE_ID2('L', 'T')

Definition at line 55 of file bDefines.h.

## ◆ ID_MA

#define ID_MA MAKE_ID2('M', 'A')

Definition at line 50 of file bDefines.h.

## ◆ ID_MB

#define ID_MB MAKE_ID2('M', 'B')

Definition at line 49 of file bDefines.h.

## ◆ ID_ME

#define ID_ME MAKE_ID2('M', 'E')

Definition at line 47 of file bDefines.h.

## ◆ ID_NLA

#define ID_NLA MAKE_ID2('N', 'L')

Definition at line 80 of file bDefines.h.

## ◆ ID_NT

#define ID_NT MAKE_ID2('N', 'T')

Definition at line 74 of file bDefines.h.

## ◆ ID_OB

#define ID_OB MAKE_ID2('O', 'B')

Definition at line 46 of file bDefines.h.

## ◆ ID_PO

#define ID_PO MAKE_ID2('A', 'C')

Definition at line 79 of file bDefines.h.

## ◆ ID_SAMPLE

#define ID_SAMPLE MAKE_ID2('S', 'A')

Definition at line 67 of file bDefines.h.

## ◆ ID_SCE

#define ID_SCE MAKE_ID2('S', 'C')

Definition at line 44 of file bDefines.h.

## ◆ ID_SCR

#define ID_SCR MAKE_ID2('S', 'R')

Definition at line 63 of file bDefines.h.

## ◆ ID_SCRIPT

#define ID_SCRIPT MAKE_ID2('P', 'Y')

Definition at line 72 of file bDefines.h.

## ◆ ID_SE

#define ID_SE MAKE_ID2('S', 'E')

Definition at line 56 of file bDefines.h.

## ◆ ID_SEQ

#define ID_SEQ MAKE_ID2('S', 'Q')

Definition at line 77 of file bDefines.h.

## ◆ ID_SO

#define ID_SO MAKE_ID2('S', 'O')

Definition at line 66 of file bDefines.h.

## ◆ ID_TE

#define ID_TE MAKE_ID2('T', 'E')

Definition at line 51 of file bDefines.h.

## ◆ ID_TXT

#define ID_TXT MAKE_ID2('T', 'X')

Definition at line 65 of file bDefines.h.

## ◆ ID_VF

#define ID_VF MAKE_ID2('V', 'F')

Definition at line 64 of file bDefines.h.

## ◆ ID_VN

#define ID_VN MAKE_ID2('V', 'N')

Definition at line 83 of file bDefines.h.

## ◆ ID_VS

#define ID_VS MAKE_ID2('V', 'S')

Definition at line 82 of file bDefines.h.

## ◆ ID_WO

#define ID_WO MAKE_ID2('W', 'O')

Definition at line 62 of file bDefines.h.

## ◆ ID_WV

#define ID_WV MAKE_ID2('W', 'V')

Definition at line 54 of file bDefines.h.

## ◆ IMAG

#define IMAG MAKE_ID('I', 'M', 'A', 'G')

Definition at line 97 of file bDefines.h.

## ◆ MAKE_ID

#define MAKE_ID | ( |  | a,
|  |  | b,
|  |  | c,
|  |  | d
| ) |  | ((int)(d) << 24 | (int)(c) << 16 | (b) << 8 | (a))

Definition at line 29 of file bDefines.h.

## ◆ MAKE_ID2

#define MAKE_ID2 | ( |  | c,
|  |  | d
| ) |  | ((d) << 8 | (c))

Definition at line 38 of file bDefines.h.

## ◆ MOST_SIG_BYTE

#define MOST_SIG_BYTE 1

Definition at line 39 of file bDefines.h.

## ◆ NAME

#define NAME MAKE_ID('N', 'A', 'M', 'E')

Definition at line 104 of file bDefines.h.

## ◆ REND

#define REND MAKE_ID('R', 'E', 'N', 'D')

Definition at line 102 of file bDefines.h.

## ◆ SDNA

#define SDNA MAKE_ID('S', 'D', 'N', 'A')

Definition at line 105 of file bDefines.h.

## ◆ SIZEOFBLENDERHEADER

#define SIZEOFBLENDERHEADER 12

Definition at line 23 of file bDefines.h.

## ◆ STRC

#define STRC MAKE_ID('S', 'T', 'R', 'C')

Definition at line 108 of file bDefines.h.

## ◆ SWITCH_INT

#define SWITCH_INT | ( |  | a | ) |

Value:
{ \
char s_i, *p_i; \
p_i = (char *)&(a); \
s_i = p_i[0]; \
p_i[0] = p_i[3]; \
p_i[3] = s_i; \
s_i = p_i[1]; \
p_i[1] = p_i[2]; \
p_i[2] = s_i; \
}

Definition at line 111 of file bDefines.h.

## ◆ SWITCH_LONGINT

#define SWITCH_LONGINT | ( |  | a | ) |

Value:
{ \
char s_i, *p_i; \
p_i = (char *)&(a); \
s_i = p_i[0]; \
p_i[0] = p_i[7]; \
p_i[7] = s_i; \
s_i = p_i[1]; \
p_i[1] = p_i[6]; \
p_i[6] = s_i; \
s_i = p_i[2]; \
p_i[2] = p_i[5]; \
p_i[5] = s_i; \
s_i = p_i[3]; \
p_i[3] = p_i[4]; \
p_i[4] = s_i; \
}

Definition at line 134 of file bDefines.h.

## ◆ SWITCH_SHORT

#define SWITCH_SHORT | ( |  | a | ) |

Value:
{ \
char s_i, *p_i; \
p_i = (char *)&(a); \
s_i = p_i[0]; \
p_i[0] = p_i[1]; \
p_i[1] = s_i; \
}

Definition at line 124 of file bDefines.h.

## ◆ TLEN

#define TLEN MAKE_ID('T', 'L', 'E', 'N')

Definition at line 107 of file bDefines.h.

## ◆ TYPE

#define TYPE MAKE_ID('T', 'Y', 'P', 'E')

Definition at line 106 of file bDefines.h.

## ◆ USER

#define USER MAKE_ID('U', 'S', 'E', 'R')

Definition at line 98 of file bDefines.h.

## ◆ V100

#define V100 MAKE_ID('V', '1', '0', '0')

Definition at line 94 of file bDefines.h.