convert line ends
[canaan.git] / prj / tech / libsrc / r3d / primtab.h
blobfa7343fb555bffe2d644b0067b9614e121387b8b
1 // $Header: x:/prj/tech/libsrc/r3d/RCS/primtab.h 1.7 1997/10/03 13:03:29 KEVIN Exp $
3 // primitive function table type
5 #include <r3ds.h>
6 typedef struct grs_vertex grs_vertex;
8 typedef struct {
9 int (*draw_3d_poly) (int n, r3s_phandle *vp);
10 int (*draw_3d_tmap) (int n, r3s_phandle *vp, r3s_texture bm);
11 int (*draw_2d_poly) (int n, r3s_phandle *vp);
12 void (*draw_2d_tmap) (r3s_texture bm); // actually, just setup
13 int (*draw_2d_line) (r3s_phandle p0, r3s_phandle p1);
14 int (*draw_2d_point)(r3s_phandle p0);
15 } r3s_prim_tab;