#pragma once #include #define ONE 4096 typedef unsigned char u_char; typedef unsigned short u_short; typedef unsigned int u_int; typedef unsigned long u_long; typedef struct _MATRIX { int16_t m[3][3]; int32_t t[3]; } MATRIX; typedef struct _VECTOR { int32_t vx, vy, vz; } VECTOR; typedef struct _SVECTOR { int16_t vx, vy, vz, pad; } SVECTOR; typedef struct _CVECTOR { uint8_t r, g, b, cd; } CVECTOR; typedef struct _DVECTOR { int16_t vx, vy; } DVECTOR;