19 int vox_init(int xsz, int ysz, uint8_t *himg, uint8_t *cimg);
20 void vox_destroy(void);
22 void vox_framebuf(int xres, int yres, void *fb, int horizon);
23 /* negative height for auto at -h above terrain */
24 int vox_view(int32_t x, int32_t y, int h, int32_t angle);
25 void vox_proj(int fov, int znear, int zfar);
27 void vox_render(void);
30 void vox_render_slice(int n);
32 void vox_sky_solid(uint8_t color);
33 void vox_sky_grad(uint8_t chor, uint8_t ctop);
35 void vox_objects(struct vox_object *ptr, int count, int stride);
37 int vox_height(int x, int y);
38 int vox_check_vis(int32_t x0, int32_t y0, int32_t x1, int32_t y1);
40 #endif /* VOXSCAPE_H_ */