8 struct voxscape *vox_create(int xsz, int ysz);
9 struct voxscape *vox_open(const char *hfile, const char *cfile);
10 void vox_free(struct voxscape *vox);
12 int vox_height(struct voxscape *vox, int32_t x, int32_t y);
14 void vox_framebuf(struct voxscape *vox, int xres, int yres, uint32_t *fb);
15 /* negative height for auto at -h above terrain */
16 void vox_view(struct voxscape *vox, int32_t x, int32_t y, int h, int32_t angle);
17 void vox_proj(struct voxscape *vox, int fov, int znear, int zfar);
19 void vox_render(struct voxscape *vox);
21 void vox_begin(struct voxscape *vox);
22 void vox_render_slice(struct voxscape *vox, int n);
24 void vox_sky_grad(struct voxscape *vox, uint32_t chor, uint32_t ctop);
26 #endif /* VOXSCAPE_H_ */