#include <string.h>
#include <math.h>
#include "camera.h"
#include "msgpool.h"
Defines | |
#define | OUTPUTVERTEX(x) |
Functions | |
boolean | CameraClipPolygon3d (CameraRecd *CPos, int n, const point3d *p, void(*output)(int n, point3d *p)) |
#define OUTPUTVERTEX | ( | x | ) |
{ if ( m >= outbufsize ) \ { if ( !pkv_GetScratchMem(sizeof(point3d)) ) goto failure; } \ outbufsize++; \ outb[m++] = x; \ }
boolean CameraClipPolygon3d | ( | CameraRecd * | CPos, | |
int | n, | |||
const point3d * | p, | |||
void(*)(int n, point3d *p) | output | |||
) |