The intrinsic data types (specified by their C
enum
(BPDataType
) constants and their C
language equivalents
are listed below. All of the equivalent structures are
defined in the header file datatypes.h.
BPDType_double
double
BPDType_char
char
BPDType_int
int
BPDType_uint
unsigned int
BPDType_DVector2
typedef struct { double x; double y; } DVector2;
BPDType_DVector3
typedef struct { double x; double y; double z; } DVector3;
BPDType_IVector2
typedef struct { int x; int y; } IVector2;
BPDType_IVector3
typedef struct { int x; int y; int z; } IVector3;
BPDType_UIVector2
typedef struct { unsigned int x; unsigned int y; }UIVector2;
BPDType_UIVector3
typedef struct { unsigned int x; unsigned int y; unsigned int z; }UIVector3;
BPDType_DComplex
typedef struct { double r; double i; }DComplex;
BPDType_DCVector2
typedef struct { DComplex q1; DComplex q2; }DCVector2;
BPDType_DCVector3
typedef struct { DComplex q1; DComplex q2; DComplex q3; }DCVector3;