convert line ends
[canaan.git] / prj / tech / libsrc / r3d / clipcon.h
blobc3ba8ff3dca799e3b10f694dbbf4556a12c80893
1 // $Header: x:/prj/tech/libsrc/r3d/RCS/clipcon.h 1.8 1998/06/30 18:45:55 buzzard Exp $
3 #include <clip.h>
5 typedef struct {
6 void *clip_data;
7 mxs_plane world_clip[5];
8 int num_user_planes;
9 int max_user_planes;
10 int clip_flags; // which u,v coordinate type stuff to clip
11 mxs_real near_plane; // in view space
12 r3e_clipmode clip_mode;
13 } r3s_clip_context;
15 #define R3_CLIP_I 1
16 #define R3_CLIP_U 2
17 #define R3_CLIP_V 4
18 #define R3_CLIP_UV 6
19 #define R3_CLIP_ALL 7
20 #define R3_CLIP_RGB (1+8+16) // store RGB as I,*,*,H,D