rayzor

view src/m3dimpl.h @ 2:c273c6f799a4

added fixcase utility to fix the ftp-ed files' case on linux
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 05 Apr 2014 18:31:00 +0300
parents a826bf0fb169
children 9035507275d6
line source
1 #ifndef M3DIMPL_H_
2 #define M3DIMPL_H_
4 #include "min3d.h"
6 #define MSTACK_SIZE 16
8 struct min3d_mstack {
9 float m[MSTACK_SIZE][16];
10 int top;
11 };
13 struct min3d_vertex {
14 float pos[4];
15 float color[4];
16 float normal[4];
17 float tex[2];
18 };
20 struct min3d_context {
21 struct m3d_image *cbuf;
22 uint16_t *zbuf;
24 unsigned long state;
26 int mmode; /* matrix mode */
27 struct min3d_mstack mstack[2];
28 } *m3dctx;
30 #endif /* M3DIMPL_H_ */