#include <stdint.h>
+enum {
+ VOX_NEAREST,
+ VOX_LINEAR
+};
+
struct voxscape;
#define VOX_RGB(r, g, b) \
void vox_fog(struct voxscape *vox, int zstart, uint32_t color);
int vox_height(struct voxscape *vox, int32_t x, int32_t y);
+void vox_filter(struct voxscape *vox, int hfilt, int cfilt);
+
void vox_framebuf(struct voxscape *vox, int xres, int yres, uint32_t *fb, int horizon);
/* negative height for auto at -h above terrain */
void vox_view(struct voxscape *vox, int32_t x, int32_t y, int h, int32_t angle);