X-Git-Url: https://harrygodden.com/git/?p=convexer.git;a=blobdiff_plain;f=cxr%2Fcxr_types.h;fp=cxr%2Fcxr_types.h;h=98229dd04a3f1a6482cb6764c95f75da7385f459;hp=0000000000000000000000000000000000000000;hb=dbd379f76bcb2139fdb5740232511fa789018e10;hpb=8e1b6889db7ce10f8d594539ef74dc4390e8e891 diff --git a/cxr/cxr_types.h b/cxr/cxr_types.h new file mode 100644 index 0000000..98229dd --- /dev/null +++ b/cxr/cxr_types.h @@ -0,0 +1,26 @@ +#ifndef CXR_TYPES_H +#define CXR_TYPES_H + +#include + +#define CXR_API + +typedef uint8_t u8; +typedef uint16_t u16; +typedef uint32_t u32; +typedef uint64_t u64; +typedef int8_t i8; +typedef int16_t i16; +typedef int32_t i32; +typedef int64_t i64; + +typedef unsigned int uint; + +typedef double v2f[2]; +typedef double v3f[3]; +typedef double v4f[4]; +typedef v3f m3x3f[3]; +typedef v3f m4x3f[4]; +typedef v3f boxf[2]; + +#endif