X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fxgl.h;fp=src%2Fxgl.h;h=125af168770350e7b43f24c2c41788518f390172;hb=f376a88158f9f99d738a51e306d137de62124569;hp=1e531bb7452cb728c123bc0f9b87b98f883a076c;hpb=5b98299a1aa716cc17cb5f70498c8e23cac945cb;p=gba_blender diff --git a/src/xgl.h b/src/xgl.h index 1e531bb..125af16 100644 --- a/src/xgl.h +++ b/src/xgl.h @@ -18,6 +18,11 @@ along with this program. If not, see . #ifndef XGL_H_ #define XGL_H_ +#define X_PI 0x3243f +#define X_2PI 0x6487f +#define X_HPI 0x19220 +#define X_QPI 0xc910 + enum { XGL_LINES = 2, XGL_TRIANGLES = 3, @@ -26,6 +31,7 @@ enum { struct xvertex { int32_t x, y, z; + int32_t nx, ny, nz; unsigned char cidx; };