#pragma once

#ifdef __WATCOMC__
#pragma library("render16.lib")
#endif

#ifdef __cplusplus
extern "C" {
#endif
//---------------------------------------------------------------------------//
#include "formats/v3o.h"
#include "formats/v3d.h"
#include "objects/object.h"
#include "vmath/vector.h"
#include "vmath/matrix.h"
#include "render16/rnddrv.h"

void render_calclight (RNDDRV *drv,V3O *v3o, V3OSURFACE *sf, OBJECT *lightlist,float *l1,float *l2,float *l3,VECTOR *origo);
void render_getvector (VECTOR *v,float x1,float y1,float z1,float x2, float y2,float z2);
int render_checkspherical (RNDDRV *drv,OBJECT *obj);
void render_project (RNDDRV *drv,VECTOR *v, float xo, float yo, float zo);
int render_inspace (RNDDRV *drv,VECTOR *v,float zmax,float zmin);
int render_ishidden (V3O *obj, V3OSURFACE *sf);


//---------------------------------------------------------------------------//
#ifdef __cplusplus
}
#endif

